summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/fread_u.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-09-03 19:29:55 +0200
committerCorinna Vinschen <corinna@vinschen.de>2015-11-18 22:44:33 +0100
commit645913109673c36cebf19d407a6e3e3a4a6288db (patch)
treef972c23f4d79efcc7da83404c6eef8a690e63e3c /newlib/libc/stdio/fread_u.c
parent4dc3deea8949d830c0a1442023bf1335841d5bcf (diff)
downloadcygnal-645913109673c36cebf19d407a6e3e3a4a6288db.tar.gz
cygnal-645913109673c36cebf19d407a6e3e3a4a6288db.tar.bz2
cygnal-645913109673c36cebf19d407a6e3e3a4a6288db.zip
Fix file type mode bit handling on object security.
* fhandler_tty.cc (fhandler_pty_slave::open): Add S_IFCHR flag in call to create_object_sd_from_attribute. (fhandler_pty_slave::fstat): Ditto in call to get_object_attribute. (fhandler_pty_slave::fchmod): Add an orig_mode flag and ditto for both calls. (fhandler_pty_master::setup): Ditto in call to create_object_sd_from_attribute. * security.cc (get_object_attribute): Never add S_IFCHR to mode here. Let the caller decide. (create_object_sd_from_attribute): Ditto. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/fread_u.c')
0 files changed, 0 insertions, 0 deletions