Re: [2.6 patch] remove securebits

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Thursday, August 30, 2007 - 6:26 am

Quoting Andrew Morgan (morgan@kernel.org):

Well it's just 'breaking' old behavior in certain error cases.  I.e. if
audit fails, or no handler is found for the binary, we never reach
compute_creds (which is called from within the binary loader), so in 
the past keep_capabilities would have remained 1 until something was
actually executed.  Now in all likelyhood the process would try to
exec something else, but if it should happen to decide to setuid()
instead, with your patch keep_capabilities will have been unexpectedly
set to 0 during the failed exec attempt.

-serge
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] remove securebits, Adrian Bunk, (Fri Aug 24, 2:06 pm)
Re: [2.6 patch] remove securebits, Serge E. Hallyn, (Fri Aug 24, 2:19 pm)
Re: [2.6 patch] remove securebits, Andrew Morgan, (Fri Aug 24, 8:50 pm)
Re: [2.6 patch] remove securebits, Adrian Bunk, (Sat Aug 25, 11:28 am)
Re: [2.6 patch] remove securebits, Serge E. Hallyn, (Mon Aug 27, 8:09 am)
Re: [2.6 patch] remove securebits, Adrian Bunk, (Mon Aug 27, 8:17 am)
Re: [2.6 patch] remove securebits, Serge E. Hallyn, (Mon Aug 27, 8:28 am)
Re: [2.6 patch] remove securebits, Adrian Bunk, (Mon Aug 27, 8:58 am)
Re: [2.6 patch] remove securebits, Andrew Morgan, (Tue Aug 28, 12:20 am)
Re: [2.6 patch] remove securebits, Serge E. Hallyn, (Tue Aug 28, 7:38 am)
Re: [2.6 patch] remove securebits, Serge E. Hallyn, (Tue Aug 28, 11:19 am)
Re: [2.6 patch] remove securebits, Andrew Morgan, (Wed Aug 29, 5:51 pm)
Re: [2.6 patch] remove securebits, Serge E. Hallyn, (Thu Aug 30, 6:26 am)