Deleted Added
full compact
autofs_ioctl.h (270892) autofs_ioctl.h (279741)
1/*-
2 * Copyright (c) 2013 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Edward Tomasz Napierala under sponsorship
6 * from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 2013 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Edward Tomasz Napierala under sponsorship
6 * from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: stable/10/sys/fs/autofs/autofs_ioctl.h 270096 2014-08-17 09:44:42Z trasz $
29 * $FreeBSD: stable/10/sys/fs/autofs/autofs_ioctl.h 279741 2015-03-07 19:32:19Z trasz $
30 */
31
32#ifndef AUTOFS_IOCTL_H
33#define AUTOFS_IOCTL_H
34
35#define AUTOFS_PATH "/dev/autofs"
36
37struct autofs_daemon_request {

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

66 char adr_key[MAXPATHLEN];
67
68 /*
69 * Mount options from auto_master(5).
70 */
71 char adr_options[MAXPATHLEN];
72};
73
30 */
31
32#ifndef AUTOFS_IOCTL_H
33#define AUTOFS_IOCTL_H
34
35#define AUTOFS_PATH "/dev/autofs"
36
37struct autofs_daemon_request {

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

66 char adr_key[MAXPATHLEN];
67
68 /*
69 * Mount options from auto_master(5).
70 */
71 char adr_options[MAXPATHLEN];
72};
73
74/*
75 * Compatibility with 10.1-RELEASE automountd(8).
76 */
77struct autofs_daemon_done_101 {
78 /*
79 * Identifier, copied from adr_id.
80 */
81 int add_id;
82
83 /*
84 * Error number, possibly returned to userland.
85 */
86 int add_error;
87};
88
74struct autofs_daemon_done {
75 /*
76 * Identifier, copied from adr_id.
77 */
78 int add_id;
79
80 /*
89struct autofs_daemon_done {
90 /*
91 * Identifier, copied from adr_id.
92 */
93 int add_id;
94
95 /*
96 * Set to 1 if the map may contain wildcard entries;
97 * otherwise autofs will do negative caching.
98 */
99 int add_wildcards;
100
101 /*
81 * Error number, possibly returned to userland.
82 */
83 int add_error;
102 * Error number, possibly returned to userland.
103 */
104 int add_error;
105
106 /*
107 * Reserved for future use.
108 */
109 int add_spare[7];
84};
85
86#define AUTOFSREQUEST _IOR('I', 0x01, struct autofs_daemon_request)
110};
111
112#define AUTOFSREQUEST _IOR('I', 0x01, struct autofs_daemon_request)
87#define AUTOFSDONE _IOW('I', 0x02, struct autofs_daemon_done)
113#define AUTOFSDONE101 _IOW('I', 0x02, struct autofs_daemon_done_101)
114#define AUTOFSDONE _IOW('I', 0x03, struct autofs_daemon_done)
88
89#endif /* !AUTOFS_IOCTL_H */
115
116#endif /* !AUTOFS_IOCTL_H */