xref: /freebsd/lib/libc/posix1e/acl_set_flagset_np.3 (revision ca48e73a1887e639bf65e5e4d8aa462d86eccd6f)
1aa015c8eSEdward Tomasz Napierala.\"-
2aa015c8eSEdward Tomasz Napierala.\" Copyright (c) 2008, 2009 Edward Tomasz Napierala
3aa015c8eSEdward Tomasz Napierala.\" All rights reserved.
4aa015c8eSEdward Tomasz Napierala.\"
5aa015c8eSEdward Tomasz Napierala.\" Redistribution and use in source and binary forms, with or without
6aa015c8eSEdward Tomasz Napierala.\" modification, are permitted provided that the following conditions
7aa015c8eSEdward Tomasz Napierala.\" are met:
8aa015c8eSEdward Tomasz Napierala.\" 1. Redistributions of source code must retain the above copyright
9aa015c8eSEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer.
10aa015c8eSEdward Tomasz Napierala.\" 2. Redistributions in binary form must reproduce the above copyright
11aa015c8eSEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer in the
12aa015c8eSEdward Tomasz Napierala.\"    documentation and/or other materials provided with the distribution.
13aa015c8eSEdward Tomasz Napierala.\"
14aa015c8eSEdward Tomasz Napierala.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15aa015c8eSEdward Tomasz Napierala.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16aa015c8eSEdward Tomasz Napierala.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17aa015c8eSEdward Tomasz Napierala.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR THE VOICES IN HIS HEAD BE
18aa015c8eSEdward Tomasz Napierala.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19aa015c8eSEdward Tomasz Napierala.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20aa015c8eSEdward Tomasz Napierala.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21aa015c8eSEdward Tomasz Napierala.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22aa015c8eSEdward Tomasz Napierala.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23aa015c8eSEdward Tomasz Napierala.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24aa015c8eSEdward Tomasz Napierala.\" POSSIBILITY OF SUCH DAMAGE.
25aa015c8eSEdward Tomasz Napierala.\"
26aa015c8eSEdward Tomasz Napierala.\" $FreeBSD$
27aa015c8eSEdward Tomasz Napierala.\"
28ca48e73aSEdward Tomasz Napierala.Dd June 25, 2009
29aa015c8eSEdward Tomasz Napierala.Dt ACL_SET_FLAGSET_NP 3
30aa015c8eSEdward Tomasz Napierala.Os
31aa015c8eSEdward Tomasz Napierala.Sh NAME
32aa015c8eSEdward Tomasz Napierala.Nm acl_set_flagset_np
33aa015c8eSEdward Tomasz Napierala.Nd set the flags of an NFSv4 ACL entry
34aa015c8eSEdward Tomasz Napierala.Sh LIBRARY
35aa015c8eSEdward Tomasz Napierala.Lb libc
36aa015c8eSEdward Tomasz Napierala.Sh SYNOPSIS
37aa015c8eSEdward Tomasz Napierala.In sys/types.h
38aa015c8eSEdward Tomasz Napierala.In sys/acl.h
39aa015c8eSEdward Tomasz Napierala.Ft int
40aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np "acl_entry_t entry_d" "acl_flagset_t flagset_d"
41aa015c8eSEdward Tomasz Napierala.Sh DESCRIPTION
42aa015c8eSEdward Tomasz NapieralaThe
43aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
44aa015c8eSEdward Tomasz Napieralafunction
45aa015c8eSEdward Tomasz Napieralais a non-portable call that sets the flags of ACL entry
46aa015c8eSEdward Tomasz Napierala.Fa entry_d
47aa015c8eSEdward Tomasz Napieralawith the flags contained in
48aa015c8eSEdward Tomasz Napierala.Fa flagset_d .
49aa015c8eSEdward Tomasz Napierala.Pp
50aa015c8eSEdward Tomasz NapieralaThis call brands the ACL as NFSv4.
51aa015c8eSEdward Tomasz Napierala.Sh RETURN VALUES
52aa015c8eSEdward Tomasz Napierala.Rv -std acl_set_flagset_np
53aa015c8eSEdward Tomasz Napierala.Sh ERRORS
54aa015c8eSEdward Tomasz NapieralaThe
55aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
56aa015c8eSEdward Tomasz Napieralafunction fails if:
57aa015c8eSEdward Tomasz Napierala.Bl -tag -width Er
58aa015c8eSEdward Tomasz Napierala.It Bq Er EINVAL
59aa015c8eSEdward Tomasz NapieralaArgument
60aa015c8eSEdward Tomasz Napierala.Fa entry_d
61aa015c8eSEdward Tomasz Napieralais not a valid descriptor for an ACL entry.
62aa015c8eSEdward Tomasz NapieralaACL is already branded as POSIX.1e.
63aa015c8eSEdward Tomasz Napierala.El
64aa015c8eSEdward Tomasz Napierala.Sh SEE ALSO
65aa015c8eSEdward Tomasz Napierala.Xr acl 3 ,
66aa015c8eSEdward Tomasz Napierala.Xr acl_add_flag_np 3 ,
67aa015c8eSEdward Tomasz Napierala.Xr acl_get_brand_np 3 ,
68aa015c8eSEdward Tomasz Napierala.Xr acl_clear_flags_np 3 ,
69aa015c8eSEdward Tomasz Napierala.Xr acl_delete_flag_np 3 ,
70aa015c8eSEdward Tomasz Napierala.Xr acl_get_flagset_np 3 ,
71aa015c8eSEdward Tomasz Napierala.Xr posix1e 3
72aa015c8eSEdward Tomasz Napierala.Sh STANDARDS
73aa015c8eSEdward Tomasz NapieralaPOSIX.1e is described in IEEE POSIX.1e draft 17.
74aa015c8eSEdward Tomasz Napierala.Sh HISTORY
75aa015c8eSEdward Tomasz NapieralaPOSIX.1e support was introduced in
76aa015c8eSEdward Tomasz Napierala.Fx 4.0 .
77aa015c8eSEdward Tomasz NapieralaThe
78aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
79aa015c8eSEdward Tomasz Napieralafunction was added in
80aa015c8eSEdward Tomasz Napierala.Fx 8.0 .
81aa015c8eSEdward Tomasz Napierala.Sh AUTHORS
82aa015c8eSEdward Tomasz NapieralaThe
83aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
84aa015c8eSEdward Tomasz Napieralafunction was written by
85aa015c8eSEdward Tomasz Napierala.An Edward Tomasz Napierala Aq trasz@FreeBSD.org .
86aa015c8eSEdward Tomasz Napierala.\"-
87aa015c8eSEdward Tomasz Napierala.\" Copyright (c) 2008, 2009 Edward Tomasz Napierala
88aa015c8eSEdward Tomasz Napierala.\" All rights reserved.
89aa015c8eSEdward Tomasz Napierala.\"
90aa015c8eSEdward Tomasz Napierala.\" Redistribution and use in source and binary forms, with or without
91aa015c8eSEdward Tomasz Napierala.\" modification, are permitted provided that the following conditions
92aa015c8eSEdward Tomasz Napierala.\" are met:
93aa015c8eSEdward Tomasz Napierala.\" 1. Redistributions of source code must retain the above copyright
94aa015c8eSEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer.
95aa015c8eSEdward Tomasz Napierala.\" 2. Redistributions in binary form must reproduce the above copyright
96aa015c8eSEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer in the
97aa015c8eSEdward Tomasz Napierala.\"    documentation and/or other materials provided with the distribution.
98aa015c8eSEdward Tomasz Napierala.\"
99aa015c8eSEdward Tomasz Napierala.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
100aa015c8eSEdward Tomasz Napierala.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
101aa015c8eSEdward Tomasz Napierala.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
102aa015c8eSEdward Tomasz Napierala.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR THE VOICES IN HIS HEAD BE
103aa015c8eSEdward Tomasz Napierala.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
104aa015c8eSEdward Tomasz Napierala.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
105aa015c8eSEdward Tomasz Napierala.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
106aa015c8eSEdward Tomasz Napierala.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
107aa015c8eSEdward Tomasz Napierala.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
108aa015c8eSEdward Tomasz Napierala.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
109aa015c8eSEdward Tomasz Napierala.\" POSSIBILITY OF SUCH DAMAGE.
110aa015c8eSEdward Tomasz Napierala.\"
111aa015c8eSEdward Tomasz Napierala.\" $FreeBSD$
112aa015c8eSEdward Tomasz Napierala.\"
113aa015c8eSEdward Tomasz Napierala.Dd March 10, 2001
114aa015c8eSEdward Tomasz Napierala.Dt ACL_SET_FLAGSET_NP 3
115aa015c8eSEdward Tomasz Napierala.Os
116aa015c8eSEdward Tomasz Napierala.Sh NAME
117aa015c8eSEdward Tomasz Napierala.Nm acl_set_flagset_np
118aa015c8eSEdward Tomasz Napierala.Nd set the flags of an NFSv4 ACL entry
119aa015c8eSEdward Tomasz Napierala.Sh LIBRARY
120aa015c8eSEdward Tomasz Napierala.Lb libc
121aa015c8eSEdward Tomasz Napierala.Sh SYNOPSIS
122aa015c8eSEdward Tomasz Napierala.In sys/types.h
123aa015c8eSEdward Tomasz Napierala.In sys/acl.h
124aa015c8eSEdward Tomasz Napierala.Ft int
125aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np "acl_entry_t entry_d" "acl_flagset_t flagset_d"
126aa015c8eSEdward Tomasz Napierala.Sh DESCRIPTION
127aa015c8eSEdward Tomasz NapieralaThe
128aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
129aa015c8eSEdward Tomasz Napieralafunction
130aa015c8eSEdward Tomasz Napieralais a non-portable call that sets the flags of ACL entry
131aa015c8eSEdward Tomasz Napierala.Fa entry_d
132aa015c8eSEdward Tomasz Napieralawith the flags contained in
133aa015c8eSEdward Tomasz Napierala.Fa flagset_d .
134aa015c8eSEdward Tomasz Napierala.Pp
135aa015c8eSEdward Tomasz NapieralaThis call brands the ACL as NFSv4.
136aa015c8eSEdward Tomasz Napierala.Sh RETURN VALUES
137aa015c8eSEdward Tomasz Napierala.Rv -std acl_set_flagset_np
138aa015c8eSEdward Tomasz Napierala.Sh ERRORS
139aa015c8eSEdward Tomasz NapieralaThe
140aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
141aa015c8eSEdward Tomasz Napieralafunction fails if:
142aa015c8eSEdward Tomasz Napierala.Bl -tag -width Er
143aa015c8eSEdward Tomasz Napierala.It Bq Er EINVAL
144aa015c8eSEdward Tomasz NapieralaArgument
145aa015c8eSEdward Tomasz Napierala.Fa entry_d
146aa015c8eSEdward Tomasz Napieralais not a valid descriptor for an ACL entry.
147aa015c8eSEdward Tomasz NapieralaACL is already branded as POSIX.1e.
148aa015c8eSEdward Tomasz Napierala.El
149aa015c8eSEdward Tomasz Napierala.Sh SEE ALSO
150aa015c8eSEdward Tomasz Napierala.Xr acl 3 ,
151aa015c8eSEdward Tomasz Napierala.Xr acl_add_flag_np 3 ,
152aa015c8eSEdward Tomasz Napierala.Xr acl_get_brand_np 3 ,
153aa015c8eSEdward Tomasz Napierala.Xr acl_clear_flags_np 3 ,
154aa015c8eSEdward Tomasz Napierala.Xr acl_delete_flag_np 3 ,
155aa015c8eSEdward Tomasz Napierala.Xr acl_get_flagset_np 3 ,
156aa015c8eSEdward Tomasz Napierala.Xr posix1e 3
157aa015c8eSEdward Tomasz Napierala.Sh STANDARDS
158aa015c8eSEdward Tomasz NapieralaPOSIX.1e is described in IEEE POSIX.1e draft 17.
159aa015c8eSEdward Tomasz Napierala.Sh HISTORY
160aa015c8eSEdward Tomasz NapieralaPOSIX.1e support was introduced in
161aa015c8eSEdward Tomasz Napierala.Fx 4.0 .
162aa015c8eSEdward Tomasz NapieralaThe
163aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
164aa015c8eSEdward Tomasz Napieralafunction was added in
165aa015c8eSEdward Tomasz Napierala.Fx 8.0 .
166aa015c8eSEdward Tomasz Napierala.Sh AUTHORS
167aa015c8eSEdward Tomasz NapieralaThe
168aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
169aa015c8eSEdward Tomasz Napieralafunction was written by
170aa015c8eSEdward Tomasz Napierala.An Edward Tomasz Napierala Aq trasz@FreeBSD.org .
171aa015c8eSEdward Tomasz Napierala.\"-
172aa015c8eSEdward Tomasz Napierala.\" Copyright (c) 2008, 2009 Edward Tomasz Napierala
173aa015c8eSEdward Tomasz Napierala.\" All rights reserved.
174aa015c8eSEdward Tomasz Napierala.\"
175aa015c8eSEdward Tomasz Napierala.\" Redistribution and use in source and binary forms, with or without
176aa015c8eSEdward Tomasz Napierala.\" modification, are permitted provided that the following conditions
177aa015c8eSEdward Tomasz Napierala.\" are met:
178aa015c8eSEdward Tomasz Napierala.\" 1. Redistributions of source code must retain the above copyright
179aa015c8eSEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer.
180aa015c8eSEdward Tomasz Napierala.\" 2. Redistributions in binary form must reproduce the above copyright
181aa015c8eSEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer in the
182aa015c8eSEdward Tomasz Napierala.\"    documentation and/or other materials provided with the distribution.
183aa015c8eSEdward Tomasz Napierala.\"
184aa015c8eSEdward Tomasz Napierala.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
185aa015c8eSEdward Tomasz Napierala.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
186aa015c8eSEdward Tomasz Napierala.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
187aa015c8eSEdward Tomasz Napierala.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR THE VOICES IN HIS HEAD BE
188aa015c8eSEdward Tomasz Napierala.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
189aa015c8eSEdward Tomasz Napierala.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
190aa015c8eSEdward Tomasz Napierala.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
191aa015c8eSEdward Tomasz Napierala.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
192aa015c8eSEdward Tomasz Napierala.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
193aa015c8eSEdward Tomasz Napierala.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
194aa015c8eSEdward Tomasz Napierala.\" POSSIBILITY OF SUCH DAMAGE.
195aa015c8eSEdward Tomasz Napierala.\"
196aa015c8eSEdward Tomasz Napierala.\" $FreeBSD$
197aa015c8eSEdward Tomasz Napierala.\"
198aa015c8eSEdward Tomasz Napierala.Dd March 10, 2001
199aa015c8eSEdward Tomasz Napierala.Dt ACL_SET_FLAGSET_NP 3
200aa015c8eSEdward Tomasz Napierala.Os
201aa015c8eSEdward Tomasz Napierala.Sh NAME
202aa015c8eSEdward Tomasz Napierala.Nm acl_set_flagset_np
203aa015c8eSEdward Tomasz Napierala.Nd set the flags of an NFSv4 ACL entry
204aa015c8eSEdward Tomasz Napierala.Sh LIBRARY
205aa015c8eSEdward Tomasz Napierala.Lb libc
206aa015c8eSEdward Tomasz Napierala.Sh SYNOPSIS
207aa015c8eSEdward Tomasz Napierala.In sys/types.h
208aa015c8eSEdward Tomasz Napierala.In sys/acl.h
209aa015c8eSEdward Tomasz Napierala.Ft int
210aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np "acl_entry_t entry_d" "acl_flagset_t flagset_d"
211aa015c8eSEdward Tomasz Napierala.Sh DESCRIPTION
212aa015c8eSEdward Tomasz NapieralaThe
213aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
214aa015c8eSEdward Tomasz Napieralafunction
215aa015c8eSEdward Tomasz Napieralais a non-portable call that sets the flags of ACL entry
216aa015c8eSEdward Tomasz Napierala.Fa entry_d
217aa015c8eSEdward Tomasz Napieralawith the flags contained in
218aa015c8eSEdward Tomasz Napierala.Fa flagset_d .
219aa015c8eSEdward Tomasz Napierala.Pp
220aa015c8eSEdward Tomasz NapieralaThis call brands the ACL as NFSv4.
221aa015c8eSEdward Tomasz Napierala.Sh RETURN VALUES
222aa015c8eSEdward Tomasz Napierala.Rv -std acl_set_flagset_np
223aa015c8eSEdward Tomasz Napierala.Sh ERRORS
224aa015c8eSEdward Tomasz NapieralaThe
225aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
226aa015c8eSEdward Tomasz Napieralafunction fails if:
227aa015c8eSEdward Tomasz Napierala.Bl -tag -width Er
228aa015c8eSEdward Tomasz Napierala.It Bq Er EINVAL
229aa015c8eSEdward Tomasz NapieralaArgument
230aa015c8eSEdward Tomasz Napierala.Fa entry_d
231aa015c8eSEdward Tomasz Napieralais not a valid descriptor for an ACL entry.
232aa015c8eSEdward Tomasz NapieralaACL is already branded as POSIX.1e.
233aa015c8eSEdward Tomasz Napierala.El
234aa015c8eSEdward Tomasz Napierala.Sh SEE ALSO
235aa015c8eSEdward Tomasz Napierala.Xr acl 3 ,
236aa015c8eSEdward Tomasz Napierala.Xr acl_add_flag_np 3 ,
237aa015c8eSEdward Tomasz Napierala.Xr acl_get_brand_np 3 ,
238aa015c8eSEdward Tomasz Napierala.Xr acl_clear_flags_np 3 ,
239aa015c8eSEdward Tomasz Napierala.Xr acl_delete_flag_np 3 ,
240aa015c8eSEdward Tomasz Napierala.Xr acl_get_flagset_np 3 ,
241aa015c8eSEdward Tomasz Napierala.Xr posix1e 3
242aa015c8eSEdward Tomasz Napierala.Sh STANDARDS
243aa015c8eSEdward Tomasz NapieralaPOSIX.1e is described in IEEE POSIX.1e draft 17.
244aa015c8eSEdward Tomasz Napierala.Sh HISTORY
245aa015c8eSEdward Tomasz NapieralaPOSIX.1e support was introduced in
246aa015c8eSEdward Tomasz Napierala.Fx 4.0 .
247aa015c8eSEdward Tomasz NapieralaThe
248aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
249aa015c8eSEdward Tomasz Napieralafunction was added in
250aa015c8eSEdward Tomasz Napierala.Fx 8.0 .
251aa015c8eSEdward Tomasz Napierala.Sh AUTHORS
252aa015c8eSEdward Tomasz NapieralaThe
253aa015c8eSEdward Tomasz Napierala.Fn acl_set_flagset_np
254aa015c8eSEdward Tomasz Napieralafunction was written by
255aa015c8eSEdward Tomasz Napierala.An Edward Tomasz Napierala Aq trasz@FreeBSD.org .
256