uipc_sem.c (6b3a9a0f3d2cd66145e89fdd8d07cb33a9963e8f) | uipc_sem.c (2b68eb8e1dbbdaf6a0df1c83b26f5403ca52d4c3) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2002 Alfred Perlstein <alfred@FreeBSD.org> 5 * Copyright (c) 2003-2005 SPARTA, Inc. 6 * Copyright (c) 2005, 2016-2017 Robert N. M. Watson 7 * All rights reserved. 8 * --- 147 unchanged lines hidden (view full) --- 156 .fo_sendfile = invfo_sendfile, 157 .fo_fill_kinfo = ksem_fill_kinfo, 158 .fo_flags = DFLAG_PASSABLE 159}; 160 161FEATURE(posix_sem, "POSIX semaphores"); 162 163static int | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2002 Alfred Perlstein <alfred@FreeBSD.org> 5 * Copyright (c) 2003-2005 SPARTA, Inc. 6 * Copyright (c) 2005, 2016-2017 Robert N. M. Watson 7 * All rights reserved. 8 * --- 147 unchanged lines hidden (view full) --- 156 .fo_sendfile = invfo_sendfile, 157 .fo_fill_kinfo = ksem_fill_kinfo, 158 .fo_flags = DFLAG_PASSABLE 159}; 160 161FEATURE(posix_sem, "POSIX semaphores"); 162 163static int |
164ksem_stat(struct file *fp, struct stat *sb, struct ucred *active_cred, 165 struct thread *td) | 164ksem_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) |
166{ 167 struct ksem *ks; 168#ifdef MAC 169 int error; 170#endif 171 172 ks = fp->f_data; 173 --- 938 unchanged lines hidden --- | 165{ 166 struct ksem *ks; 167#ifdef MAC 168 int error; 169#endif 170 171 ks = fp->f_data; 172 --- 938 unchanged lines hidden --- |