1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/i386/ibcs2
Robert Watson d49fa1ca6e In continuation of early fileop credential changes, modify fo_ioctl() to
accept an 'active_cred' argument reflecting the credential of the thread
initiating the ioctl operation.

- Change fo_ioctl() to accept active_cred; change consumers of the
  fo_ioctl() interface to generally pass active_cred from td->td_ucred.
- In fifofs, initialize filetmp.f_cred to ap->a_cred so that the
  invocations of soo_ioctl() are provided access to the calling f_cred.
  Pass ap->a_td->td_ucred as the active_cred, but note that this is
  required because we don't yet distinguish file_cred and active_cred
  in invoking VOP's.
- Update kqueue_ioctl() for its new argument.
- Update pipe_ioctl() for its new argument, pass active_cred rather
  than td_ucred to MAC for authorization.
- Update soo_ioctl() for its new argument.
- Update vn_ioctl() for its new argument, use active_cred rather than
  td->td_ucred to authorize VOP_IOCTL() and the associated VOP_GETATTR().

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-17 02:36:16 +00:00
..
coff.h
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_fcntl.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
ibcs2_fcntl.h
ibcs2_ioctl.c In continuation of early fileop credential changes, modify fo_ioctl() to 2002-08-17 02:36:16 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_ipc.h
ibcs2_isc_syscall.h
ibcs2_isc_sysent.c
ibcs2_isc.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ibcs2_misc.c Add necessary instrumentation to IBCS2 emulation support for mandatory 2002-08-12 01:45:40 +00:00
ibcs2_mount.h
ibcs2_msg.c
ibcs2_other.c
ibcs2_poll.h
ibcs2_proto.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_signal.c Moved signal handling and rescheduling from userret() to ast() so that 2002-04-04 17:49:48 +00:00
ibcs2_signal.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_socksys.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ibcs2_socksys.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_stat.c Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h
ibcs2_sysent.c
ibcs2_sysi86.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ibcs2_sysvec.c Fix warnings; deprecated use of label at end of compound statement 2002-05-24 05:54:40 +00:00
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c
ibcs2_util.h Remove __P. 2002-03-20 05:48:58 +00:00
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h
ibcs2_xenix_sysent.c
ibcs2_xenix.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ibcs2_xenix.h Remove __P. 2002-03-20 05:48:58 +00:00
imgact_coff.c - Hold the vnode lock throughout execve. 2002-08-13 06:55:28 +00:00
Makefile
syscalls.conf
syscalls.isc
syscalls.isc.conf
syscalls.master
syscalls.xenix
syscalls.xenix.conf