[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting the real task name in avc messages
On Thu, 2005-03-31 at 09:21 -0600, Darrel Goeddel wrote:
> I didn't not think so, but I wasn't 100% sure. I only did a quick glance before
> and thought it best to be safe. Upon further investigation, it sure looks to be
> fine without holding the task lock.
Yes, AFAICS you only need to use the helper/lock when getting the comm
of another task, not your own, as only you can change your own comm.
But for some reason the core code has been rewritten to use this helper
always (e.g. see sys_prctl), possibly they expect this to change in the
future, i.e. allow another task to set your comm?
--
Stephen Smalley <sds@xxxxxxxxxxxxx>
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.
This mailing list archive is a service of Copilot Consulting.