CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/05/16 19:22:01
Modified files:
sys/kern : kern_descrip.c
sys/sys : fcntl.h
lib/libc/gen : isatty.c
usr.bin/kdump : mksubr
Log message:
isatty() is used by stdio to determine the buffering mode. Add a F_ISATTY
option to fcntl(), so that isatty() can use this rather than than the bloated
ioctl() interface. Reducing uses of ioctl() by libc makes it easier to
constrain programs with various kinds of systrace sandboxes.
ok guenther, previously discussed as a concept with nicm