commit | 9b5b67eb43bf90e83834126dfde4472e5a721080 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Jan 11 23:19:55 2007 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Jan 11 23:19:55 2007 +0000 |
tree | 16b9bc5f7448ff1f8bf5124e290fa515cd3aabd0 | |
parent | 5eb1aa539cdfe5be4a462f983c16cafdd94023e6 [diff] |
2007-01-11 Dmitry V. Levin <ldv@altlinux.org> Fix open(2) flags parser. * defs.h (tprint_open_modes): New function. * desc.c (sprint_open_modes): New function. (sys_fcntl): Use tprint_open_modes() and sprint_open_modes(). * file.c (openmodes): Split xlat into open_access_modes and open_mode_flags. (tprint_open_modes): New function. (decode_open): Use it. * ipc.c (sys_mq_open, printmqattr): Likewise. Fixes RH#222385.