lkml.org 
[lkml]   [1999]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcurrent->dumpable=0
Hello, world!\n

Is there any reason for setting current->dumpable to 0 in sys_setuid()?
It seems to me it doesn't close any security problem (since you need to
be root to change UID and if it the program was setuid, core dumps
should have been already disabled at this point) and it makes debugging
of daemons switching their UID a lot harder.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"P.C.M.C.I.A. stands for `People Can't Memorize Computer Industry Acronyms'"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.067 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site