From owner-p4-projects Tue Jul 30 12:54:15 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EF88137B401; Tue, 30 Jul 2002 12:53:01 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8090F37B400 for ; Tue, 30 Jul 2002 12:53:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CD4843E67 for ; Tue, 30 Jul 2002 12:53:00 -0700 (PDT) (envelope-from chris@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6UJr0JU052108 for ; Tue, 30 Jul 2002 12:53:00 -0700 (PDT) (envelope-from chris@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6UJr0mQ052105 for perforce@freebsd.org; Tue, 30 Jul 2002 12:53:00 -0700 (PDT) Date: Tue, 30 Jul 2002 12:53:00 -0700 (PDT) Message-Id: <200207301953.g6UJr0mQ052105@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to chris@freebsd.org using -f From: Chris Costello Subject: PERFORCE change 15216 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15216 Change 15216 by chris@chris_holly on 2002/07/30 12:52:01 Synchronize with rwatson's latest renaming changes: 15035, 15040, 15053, 15058, 15063, 15073, 15078, 15085, 15124, 15129. Affected files ... .. //depot/projects/trustedbsd/doc/en_US.ISO8859-1/books/developers-handbook/mac/chapter.sgml#11 edit Differences ... ==== //depot/projects/trustedbsd/doc/en_US.ISO8859-1/books/developers-handbook/mac/chapter.sgml#11 (text+ko) ==== @@ -481,13 +481,13 @@ socket. - - <function>&mac.mpo;_init_subject</function> + + <function>&mac.mpo;_init_cred</function> void - &mac.mpo;_init_subject + &mac.mpo;_init_cred struct ucred *cred @@ -873,13 +873,13 @@ destroyed. - - <function>&mac.mpo;_destroy_subject</function> + + <function>&mac.mpo;_destroy_cred</function> void - &mac.mpo;_destroy_subject + &mac.mpo;_destroy_cred struct ucred *cred @@ -1219,13 +1219,13 @@ mounted devfs instance. - - <function>&mac.mpo;_create_vnode_from_vnode</function> + + <function>&mac.mpo;_vnode_create_from_vnode</function> void - &mac.mpo;_create_vnode_from_vnode + &mac.mpo;_vnode_create_from_vnode struct ucred *cred @@ -1377,13 +1377,13 @@ the root file system is mounted. - - <function>&mac.mpo;_relabel_vnode</function> + + <function>&mac.mpo;_vnode_relabel</function> void - &mac.mpo;_relabel_vnode + &mac.mpo;_vnode_relabel struct ucred *cred @@ -1479,12 +1479,12 @@ above documentation as development progresses. - - <function>&mac.mpo;_update_devfsdirent_from_vnode</function> + + <function>&mac.mpo;_update_devfsdirent</function> void - &mac.mpo;_update_devfsdirent_from_vnode + &mac.mpo;_update_devfsdirent struct devfs_dirent *devfs_dirent @@ -1535,17 +1535,17 @@ the label change such that it lasts even if the vnode is recycled. It will also be made when when a symlink is created in devfs, following a call to - mac_create_vnode_from_vnode to + mac_vnode_create_from_vnode to initialize the vnode label. - - <function>&mac.mpo;_update_procfs_vnode_from_subject</function> + + <function>&mac.mpo;_update_procfsvnode</function> void - &mac.mpo;_update_procfs_vnode_from_subject + &mac.mpo;_update_procfsvnode struct vnode *vp @@ -1924,12 +1924,12 @@ - <function>&mac.mpo;_relabel_socket</function> + <function>&mac.mpo;_socket_relabel</function> void - &mac.mpo;_relabel_socket + &mac.mpo;_socket_relabel struct ucred *cred @@ -2181,13 +2181,13 @@ during the boot or as a result of a user action. - - <function>&mac.mpo;_create_ipq_from_fragment</function> + + <function>&mac.mpo;_create_ipq</function> void - &mac.mpo;_create_ipq_from_fragment + &mac.mpo;_create_ipq struct mbuf *fragment @@ -2289,13 +2289,13 @@ generated. - - <function>&mac.mpo;_create_fragment_from_datagram</function> + + <function>&mac.mpo;_create_fragment</function> void - &mac.mpo;_create_fragment_from_datagram + &mac.mpo;_create_fragment struct mbuf *datagram @@ -2398,13 +2398,13 @@ an mbuf is re-allocated for alignment purposes. - - <function>&mac.mpo;_create_mbuf_linklayer_for_ifnet</function> + + <function>&mac.mpo;_create_mbuf_linklayer</function> void - &mac.mpo;_create_mbuf_linklayer_for_ifnet + &mac.mpo;_create_mbuf_linklayer struct ifnet *ifnet @@ -2562,13 +2562,13 @@ datagram generated from the passed network interface. - - <function>&mac.mpo;_create_mbuf_multicast_encap_from_mbuf</function> + + <function>&mac.mpo;_create_mbuf_multicast_encap</function> void - &mac.mpo;_create_mbuf_multicast_encap_from_mbuf + &mac.mpo;_create_mbuf_multicast_encap struct mbuf *oldmbuf @@ -2634,13 +2634,13 @@ delivered using the virtual interface. - - <function>&mac.mpo;_create_mbuf_netlayer_from_mbuf</function> + + <function>&mac.mpo;_create_mbuf_netlayer</function> void - &mac.mpo;_create_mbuf_netlayer_from_mbuf + &mac.mpo;_create_mbuf_netlayer struct mbuf *oldmbuf @@ -2690,13 +2690,13 @@ when responding to ICMP request datagrams. - - <function>&mac.mpo;_fragment_matches_ipq</function> + + <function>&mac.mpo;_fragment_match</function> int - &mac.mpo;_fragment_matches_ipq + &mac.mpo;_fragment_match struct mbuf *fragment @@ -2754,13 +2754,13 @@ label or other information. - - <function>&mac.mpo;_relabel_ifnet</function> + + <function>&mac.mpo;_ifnet_relabel</function> void - &mac.mpo;_relabel_ifnet + &mac.mpo;_ifnet_relabel struct ucred *cred @@ -2809,13 +2809,13 @@ subject credential, cred. - - <function>&mac.mpo;_update_ipq_from_fragment</function> + + <function>&mac.mpo;_update_ipq</function> void - &mac.mpo;_update_ipq_from_fragment + &mac.mpo;_update_ipq struct mbuf *fragment @@ -2870,13 +2870,13 @@ ... - - <function>&mac.mpo;_create_subject</function> + + <function>&mac.mpo;_create_cred</function> void - &mac.mpo;_create_subject + &mac.mpo;_create_cred struct ucred *parent_cred @@ -2970,11 +2970,11 @@ returns a success from the mpo_execve_will_transition entry point. Policies may choose to implement this call simply by - invoking mpo_create_subject and passing + invoking mpo_create_cred and passing the two subject credentials so as not to implement a transitioning event. Policies should not leave this entry point unimplemented if they implement - mpo_create_subject, even if they do not + mpo_create_cred, even if they do not implement mpo_execve_will_transition. @@ -3094,13 +3094,13 @@ of all kernel processes. - - <function>&mac.mpo;_relabel_subject</function> + + <function>&mac.mpo;_cred_relabel</function> void - &mac.mpo;_relabel_subject + &mac.mpo;_cred_relabel struct ucred *cred @@ -3197,13 +3197,13 @@ EPERM for lack of privilege. - - <function>&mac.mpo;_check_bind_socket</function> + + <function>&mac.mpo;_check_socket_bind</function> int - &mac.mpo;_check_bind_socket + &mac.mpo;_check_socket_bind struct ucred *cred @@ -3307,13 +3307,13 @@ EPERM for lack of privilege. - - <function>&mac.mpo;_check_see_cred</function> + + <function>&mac.mpo;_check_cred_visible</function> int - &mac.mpo;_check_see_cred + &mac.mpo;_check_cred_visible struct ucred *u1 @@ -3354,13 +3354,13 @@ and in procfs lookups. - - <function>&mac.mpo;_check_see_socket</function> + + <function>&mac.mpo;_check_socket_visible</function> int - &mac.mpo;_check_see_socket + &mac.mpo;_check_socket_visible struct ucred *cred @@ -3397,13 +3397,13 @@ - - <function>&mac.mpo;_check_relabel_ifnet</function> + + <function>&mac.mpo;_check_ifnet_relabel</function> int - &mac.mpo;_check_relabel_ifnet + &mac.mpo;_check_ifnet_relabel struct ucred *cred @@ -3450,13 +3450,13 @@ passed network interface to the passed label update. - - <function>&mac.mpo;_check_relabel_socket</function> + + <function>&mac.mpo;_check_socket_relabel</function> int - &mac.mpo;_check_relabel_socket + &mac.mpo;_check_socket_relabel struct ucred *cred @@ -3503,13 +3503,13 @@ passed socket to the passed label update. - - <function>&mac.mpo;_check_relabel_subject</function> + + <function>&mac.mpo;_check_cred_relabel</function> int - &mac.mpo;_check_relabel_subject + &mac.mpo;_check_cred_relabel struct ucred *cred @@ -3541,13 +3541,13 @@ itself to the passed label update. - - <function>&mac.mpo;_check_relabel_vnode</function> + + <function>&mac.mpo;_check_vnode_relabel</function> int - &mac.mpo;_check_relabel_vnode + &mac.mpo;_check_vnode_relabel struct ucred *cred @@ -3596,12 +3596,12 @@ passed vnode to the passed label update. - - <function>&mac.mpo;_check_statfs</function> + + <function>&mac.mpo;_check_mount_stat</function> - int &mac.mpo;_check_statfs + int &mac.mpo;_check_mount_stat struct ucred *cred @@ -3636,6 +3636,7 @@ + Determine whether the subject credential can see the results of a statfs performed on the file system. Return 0 for success, or an @@ -3648,13 +3649,13 @@ systems, such as when &man.getfsstat.2; is invoked. - - <function>&mac.mpo;_check_debug_proc</function> + + <function>&mac.mpo;_check_proc_debug</function> int - &mac.mpo;_check_debug_proc + &mac.mpo;_check_proc_debug struct ucred *cred @@ -3694,13 +3695,13 @@ operations. - - <function>&mac.mpo;_check_access_vnode</function> + + <function>&mac.mpo;_check_vnode_access</function> int - &mac.mpo;_check_access_vnode + &mac.mpo;_check_vnode_access struct ucred *cred @@ -3751,13 +3752,13 @@ privilege. - - <function>&mac.mpo;_check_chdir_vnode</function> + + <function>&mac.mpo;_check_vnode_chdir</function> int - &mac.mpo;_check_chdir_vnode + &mac.mpo;_check_vnode_chdir struct ucred *cred @@ -3801,13 +3802,13 @@ privilege. - - <function>&mac.mpo;_check_create_vnode</function> + + <function>&mac.mpo;_check_vnode_create</function> int - &mac.mpo;_check_create_vnode + &mac.mpo;_check_vnode_create struct ucred *cred @@ -3870,13 +3871,13 @@ others. - - <function>&mac.mpo;_check_delete_vnode</function> + + <function>&mac.mpo;_check_vnode_delete</function> int - &mac.mpo;_check_delete_vnode + &mac.mpo;_check_vnode_delete struct ucred *cred @@ -3948,13 +3949,13 @@ rename. - - <function>&mac.mpo;_check_deleteacl_vnode</function> + + <function>&mac.mpo;_check_vnode_deleteacl</function> int - &mac.mpo;_check_deleteacl_vnode + &mac.mpo;_check_vnode_deleteacl struct ucred *cred struct vnode *vp @@ -4003,13 +4004,13 @@ privilege. - - <function>&mac.mpo;_check_exec_vnode</function> + + <function>&mac.mpo;_check_vnode_exec</function> int - &mac.mpo;_check_exec_vnode + &mac.mpo;_check_vnode_exec struct ucred *cred @@ -4054,13 +4055,13 @@ privilege. - - <function>&mac.mpo;_check_getacl_vnode</function> + + <function>&mac.mpo;_check_vnode_getacl</function> int - &mac.mpo;_check_getacl_vnode + &mac.mpo;_check_vnode_getacl struct ucred *cred @@ -4111,13 +4112,13 @@ privilege. - - <function>&mac.mpo;_check_getextattr_vnode</function> + + <function>&mac.mpo;_check_vnode_getextattr</function> int - &mac.mpo;_check_getextattr_vnode + &mac.mpo;_check_vnode_getextattr struct ucred *cred @@ -4185,13 +4186,13 @@ privilege. - - <function>&mac.mpo;_check_listen_socket</function> + + <function>&mac.mpo;_check_socket_listen</function> int - &mac.mpo;_check_listen_socket + &mac.mpo;_check_socket_listen struct ucred *cred @@ -4234,13 +4235,13 @@ privilege. - - <function>&mac.mpo;_check_lookup_vnode</function> + + <function>&mac.mpo;_check_vnode_lookup</function> int - &mac.mpo;_check_lookup_vnode + &mac.mpo;_check_vnode_lookup struct ucred *cred @@ -4291,13 +4292,13 @@ privilege. - - <function>&mac.mpo;_check_open_vnode</function> + + <function>&mac.mpo;_check_vnode_open</function> int - &mac.mpo;_check_open_vnode + &mac.mpo;_check_vnode_open struct ucred *cred @@ -4347,13 +4348,13 @@ EPERM for lack of privilege. - - <function>&mac.mpo;_check_readdir_vnode</function> + + <function>&mac.mpo;_check_vnode_readdir</function> int - &mac.mpo;_check_readdir_vnode + &mac.mpo;_check_vnode_readdir struct ucred *cred @@ -4397,13 +4398,13 @@ privilege. - - <function>&mac.mpo;_check_readlink_vnode</function> + + <function>&mac.mpo;_check_vnode_readlink</function> int - &mac.mpo;_check_readlink_vnode + &mac.mpo;_check_vnode_readlink struct ucred *cred @@ -4604,13 +4605,13 @@ privilege. - - <function>&mac.mpo;_check_revoke_vnode</function> + + <function>&mac.mpo;_check_vnode_revoke</function> int - &mac.mpo;_check_revoke_vnode + &mac.mpo;_check_vnode_revoke struct ucred *cred @@ -4654,13 +4655,13 @@ privilege. - - <function>&mac.mpo;_check_setacl_vnode</function> + + <function>&mac.mpo;_check_vnode_setacl</function> int - &mac.mpo;_check_setacl_vnode + &mac.mpo;_check_vnode_setacl struct ucred *cred @@ -4718,13 +4719,13 @@ privilege. - - <function>&mac.mpo;_check_setextattr_vnode</function> + + <function>&mac.mpo;_check_vnode_setextattr</function> int - &mac.mpo;_check_setextattr_vnode + &mac.mpo;_check_vnode_setextattr struct ucred *cred @@ -4791,13 +4792,13 @@ privilege. - - <function>&mac.mpo;_check_setflags_vnode</function> + + <function>&mac.mpo;_check_vnode_setflags</function> int - &mac.mpo;_check_setflags_vnode + &mac.mpo;_check_vnode_setflags struct ucred *cred @@ -4847,13 +4848,13 @@ privilege. - - <function>&mac.mpo;_check_setmode_vnode</function> + + <function>&mac.mpo;_check_vnode_setmode</function> int - &mac.mpo;_check_setmode_vnode + &mac.mpo;_check_vnode_setmode struct ucred *cred @@ -4902,13 +4903,13 @@ privilege. - - <function>&mac.mpo;_check_setowner_vnode</function> + + <function>&mac.mpo;_check_vnode_setowner</function> int - &mac.mpo;_check_setowner_vnode + &mac.mpo;_check_vnode_setowner struct ucred *cred @@ -4964,13 +4965,13 @@ of privilege. - - <function>&mac.mpo;_check_setutimes_vnode</function> + + <function>&mac.mpo;_check_vnode_setutimes</function> int - &mac.mpo;_check_setutimes_vnode + &mac.mpo;_check_vnode_setutimes struct ucred *cred @@ -5028,13 +5029,13 @@ privilege. - - <function>&mac.mpo;_check_sched_proc</function> + + <function>&mac.mpo;_check_proc_sched</function> int - &mac.mpo;_check_sched_proc + &mac.mpo;_check_proc_sched struct ucred *ucred @@ -5070,13 +5071,13 @@ ESRCH to limit visibility. - - <function>&mac.mpo;_check_signal_proc</function> + + <function>&mac.mpo;_check_proc_signal</function> int - &mac.mpo;_check_signal_proc + &mac.mpo;_check_proc_signal struct ucred *cred @@ -5118,13 +5119,13 @@ ESRCH to limit visibility. - - <function>&mac.mpo;_check_stat_vnode</function> + + <function>&mac.mpo;_check_vnode_stat</function> int - &mac.mpo;_check_stat_vnode + &mac.mpo;_check_vnode_stat struct ucred *cred @@ -5168,13 +5169,13 @@ privilege. - - <function>&mac.mpo;_check_send_mbuf</function> + + <function>&mac.mpo;_check_ifnet_transmit</function> int - &mac.mpo;_check_send_mbuf + &mac.mpo;_check_ifnet_transmit struct ucred *cred @@ -5232,13 +5233,13 @@ privilege. - - <function>&mac.mpo;_check_receive_mbuf</function> + + <function>&mac.mpo;_check_socket_receive</function> int - &mac.mpo;_check_receive_mbuf + &mac.mpo;_check_socket_receive struct ucred *cred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message