acl_delete.c (333fc21e3cd79bca0c94d7722c5a56cb5ad078d1) acl_delete.c (6394f703dcdf80f1fd010d508645732880f46d93)
1/*-
1/*-
2 * Copyright (c) 1999, 2000, 2001 Robert N. M. Watson
2 * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson
3 * All rights reserved.
4 *
3 * All rights reserved.
4 *
5 * This software was developed by Robert Watson for the TrustedBSD Project.
6 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.

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

38
39int
40acl_delete_def_file(const char *path_p)
41{
42
43 return (__acl_delete_file(path_p, ACL_TYPE_DEFAULT));
44}
45
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.

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

40
41int
42acl_delete_def_file(const char *path_p)
43{
44
45 return (__acl_delete_file(path_p, ACL_TYPE_DEFAULT));
46}
47
48int
49acl_delete_def_link_np(const char *path_p)
50{
46
51
52 return (__acl_delete_link(path_p, ACL_TYPE_DEFAULT));
53}
54
47int
48acl_delete_file_np(const char *path_p, acl_type_t type)
49{
50
51 return (__acl_delete_file(path_p, type));
52}
53
55int
56acl_delete_file_np(const char *path_p, acl_type_t type)
57{
58
59 return (__acl_delete_file(path_p, type));
60}
61
62int
63acl_delete_link_np(const char *path_p, acl_type_t type)
64{
54
65
66 return (__acl_delete_link(path_p, type));
67}
68
69
55int
56acl_delete_fd_np(int filedes, acl_type_t type)
57{
58
59 return (___acl_delete_fd(filedes, type));
60}
70int
71acl_delete_fd_np(int filedes, acl_type_t type)
72{
73
74 return (___acl_delete_fd(filedes, type));
75}