CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/04/17 14:22:14
Modified files:
sys/kern : kern_pledge.c
Log message:
matthieu@ observes % pax (without any arguments) hits pledge violation,
because it tries MTIOCTOP against stdin, the tty. It is very inconvenient
to use isatty to distinguish this difference in userland, so return ENOTTY
for tty devices.
ok natano
