hush/miscutils
Ryan Mallon 1d30b3f1f6 wall,crontab: use xopen_as_uid_gid()
This fixes a narrow security race in crontab.

function                                             old     new   delta
xopen_as_uid_gid                                       -      80     +80
seteuid                                                -      64     +64
setegid                                                -      64     +64
setreuid                                               -      37     +37
xseteuid                                               -      22     +22
xsetegid                                               -      22     +22
crontab_main                                         590     577     -13
setfsuid                                              33       -     -33
setfsgid                                              33       -     -33
wall_main                                            138     102     -36
open_as_user                                         109       -    -109

   text    data     bss     dec     hex filename
 893539     497    7568  901604   dc1e4 busybox_old
 893618     497    7568  901683   dc233 busybox_unstripped

Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-10-08 14:53:29 +02:00
..
2011-07-08 08:34:28 +02:00
2013-10-08 14:53:29 +02:00
2013-01-18 13:30:13 +01:00
2013-01-15 13:58:01 +01:00
2013-01-14 01:34:48 +01:00
2013-03-15 00:42:39 +01:00
2013-01-28 12:26:29 +01:00
2013-01-15 13:58:01 +01:00
2013-01-14 01:34:48 +01:00
2013-08-04 17:41:19 +02:00
2011-05-30 23:00:47 +02:00
2013-08-25 17:38:25 -04:00
2011-10-28 14:07:44 +02:00
2013-01-15 13:58:01 +01:00
2013-01-15 13:58:01 +01:00
2013-08-04 21:07:20 +02:00
2013-10-08 14:53:29 +02:00