devfs_vnops.c (b4a58fbf640409a1e507d9f7b411c83a3f83a2f3) | devfs_vnops.c (2b68eb8e1dbbdaf6a0df1c83b26f5403ca52d4c3) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2000-2004 5 * Poul-Henning Kamp. All rights reserved. 6 * Copyright (c) 1989, 1992-1993, 1995 7 * The Regents of the University of California. All rights reserved. 8 * --- 1824 unchanged lines hidden (view full) --- 1833 mac_vnode_relabel(ap->a_cred, vp, ap->a_label); 1834 mac_devfs_update(vp->v_mount, de, vp); 1835 1836 return (0); 1837} 1838#endif 1839 1840static int | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2000-2004 5 * Poul-Henning Kamp. All rights reserved. 6 * Copyright (c) 1989, 1992-1993, 1995 7 * The Regents of the University of California. All rights reserved. 8 * --- 1824 unchanged lines hidden (view full) --- 1833 mac_vnode_relabel(ap->a_cred, vp, ap->a_label); 1834 mac_devfs_update(vp->v_mount, de, vp); 1835 1836 return (0); 1837} 1838#endif 1839 1840static int |
1841devfs_stat_f(struct file *fp, struct stat *sb, struct ucred *cred, struct thread *td) | 1841devfs_stat_f(struct file *fp, struct stat *sb, struct ucred *cred) |
1842{ 1843 | 1842{ 1843 |
1844 return (vnops.fo_stat(fp, sb, cred, td)); | 1844 return (vnops.fo_stat(fp, sb, cred)); |
1845} 1846 1847static int 1848devfs_symlink(struct vop_symlink_args *ap) 1849{ 1850 int i, error; 1851 struct devfs_dirent *dd; 1852 struct devfs_dirent *de, *de_covered, *de_dotdot; --- 270 unchanged lines hidden --- | 1845} 1846 1847static int 1848devfs_symlink(struct vop_symlink_args *ap) 1849{ 1850 int i, error; 1851 struct devfs_dirent *dd; 1852 struct devfs_dirent *de, *de_covered, *de_dotdot; --- 270 unchanged lines hidden --- |