Re: prelink should not mess with running executables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard W.M. Jones writes:

I suspect there is still a small race window, even if you've got the
right %post hook.

Does it need to be the same executable?  Isn't it sufficient to check
that it's the same user (ie. using SO_PEERCRED):

http://www.perlmonks.org/?node_id=952805

Or perhaps something using SCM_RIGHTS/SCM_CREDENTIALS ...

Well, SCM_RIGHTS/SCM_CREDENTIALS is how you get the peer's pid in the first place.

This would be an additional check, on top of that.

Attachment: pgpHHAHRLNUub.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux