[PATCH 0/2] login: close multiple race condition

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

 



Hi,

While trying to do some fun stuff with /dev mounted with permission 01777
when devtmpfs is used, I've found some race in login which are easy to stop.

Yann Droneaud (2):
  login: use fd instead of pathname for update tty's owner and
    permissions
  login: use isatty() before using the tty's fd

 login-utils/login.c |   27 +++++++++++++++++++++++----
 1 files changed, 23 insertions(+), 4 deletions(-)


Regards.

-- 
Yann Droneaud
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux