Deleted Added
full compact
mac_set.3 (107744) mac_set.3 (108087)
1.\" Copyright (c) 2001 Networks Associates Technology, Inc.
2.\" All rights reserved.
3.\"
4.\" This software was developed for the FreeBSD Project by Chris
5.\" Costello at Safeport Network Services and NAI Labs, the Security
6.\" Research Division of Network Associates, Inc. under DARPA/SPAWAR
7.\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
8.\" research program.

--- 17 unchanged lines hidden (view full) ---

26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
1.\" Copyright (c) 2001 Networks Associates Technology, Inc.
2.\" All rights reserved.
3.\"
4.\" This software was developed for the FreeBSD Project by Chris
5.\" Costello at Safeport Network Services and NAI Labs, the Security
6.\" Research Division of Network Associates, Inc. under DARPA/SPAWAR
7.\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
8.\" research program.

--- 17 unchanged lines hidden (view full) ---

26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" $FreeBSD: head/lib/libc/posix1e/mac_set.3 107744 2002-12-11 15:55:29Z ru $
34.\" $FreeBSD: head/lib/libc/posix1e/mac_set.3 108087 2002-12-19 09:40:28Z ru $
35.\"
36.Dd December 21, 2001
37.Dt MAC_SET 3
38.Os
39.Sh NAME
40.Nm mac_set_file ,
41.Nm mac_set_fd ,
42.Nm mac_set_proc

--- 39 unchanged lines hidden (view full) ---

82or has appropriate privileges.
83.Sh RETURN VALUES
84.Rv -std mac_set_fd mac_set_file mac_set_proc
85.Sh ERRORS
86.Bl -tag -width Er
87.It Bq Er EACCES
88MAC write access to the file is denied.
89.It Bq Er EBADF
35.\"
36.Dd December 21, 2001
37.Dt MAC_SET 3
38.Os
39.Sh NAME
40.Nm mac_set_file ,
41.Nm mac_set_fd ,
42.Nm mac_set_proc

--- 39 unchanged lines hidden (view full) ---

82or has appropriate privileges.
83.Sh RETURN VALUES
84.Rv -std mac_set_fd mac_set_file mac_set_proc
85.Sh ERRORS
86.Bl -tag -width Er
87.It Bq Er EACCES
88MAC write access to the file is denied.
89.It Bq Er EBADF
90The
90.Fa fd
91.Fa fd
92argument
91is not a valid file descriptor.
92.It Bq Er EINVAL
93is not a valid file descriptor.
94.It Bq Er EINVAL
95The
93.Fa label
96.Fa label
97argument
94is not a valid MAC label.
95.It Bq Er EOPNOTSUPP
96Setting MAC labels is not supported
97by the file referenced by
98.Fa fd .
99.It Bq Er EPERM
100The calling process had insufficient privelege
101to change the MAC label.

--- 27 unchanged lines hidden ---
98is not a valid MAC label.
99.It Bq Er EOPNOTSUPP
100Setting MAC labels is not supported
101by the file referenced by
102.Fa fd .
103.It Bq Er EPERM
104The calling process had insufficient privelege
105to change the MAC label.

--- 27 unchanged lines hidden ---