devfs_rule.c (e5d09546b8ab23d0a31d325af7c8e7cb0a3a38fa) devfs_rule.c (bc9d8a9a373dd93902e6e521deb34270e04fe01f)
1/*-
2 * Copyright (c) 2002 Dima Dorfman.
3 * All rights reserved.
4 *
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

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

158 ds->ds_flags |= DS_IMMUTABLE;
159 ds->ds_refcount = 1; /* Prevent reaping. */
160}
161
162/*
163 * Rule subsystem ioctl hook.
164 */
165int
1/*-
2 * Copyright (c) 2002 Dima Dorfman.
3 * All rights reserved.
4 *
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

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

158 ds->ds_flags |= DS_IMMUTABLE;
159 ds->ds_refcount = 1; /* Prevent reaping. */
160}
161
162/*
163 * Rule subsystem ioctl hook.
164 */
165int
166devfs_rules_ioctl(struct mount *mp, int cmd, caddr_t data, struct thread *td)
166devfs_rules_ioctl(struct mount *mp, u_long cmd, caddr_t data, struct thread *td)
167{
168 struct devfs_mount *dm = VFSTODEVFS(mp);
169 struct devfs_ruleset *ds;
170 struct devfs_krule *dk;
171 struct devfs_rule *dr;
172 devfs_rsnum rsnum;
173 devfs_rnum rnum;
174 devfs_rid rid;

--- 657 unchanged lines hidden ---
167{
168 struct devfs_mount *dm = VFSTODEVFS(mp);
169 struct devfs_ruleset *ds;
170 struct devfs_krule *dk;
171 struct devfs_rule *dr;
172 devfs_rsnum rsnum;
173 devfs_rnum rnum;
174 devfs_rid rid;

--- 657 unchanged lines hidden ---