mac_set.3 (051bb54bd3ad86473c3f598db5d67e4f1f356f40) mac_set.3 (2efeeba554cbd7bdee9cfe17641c8bd335c7972f)
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.

--- 73 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
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.

--- 73 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 ---