FreeBSD/src 09b8745 — sys/kern vfs_acl.c
kern___acl_aclcheck_path: vrele the vnode after namei() (cherry picked from commit 7fad17a3e63481ef71b731b0059cb918aec14f17)
Delta | File | |
---|---|---|
+1 | -0 | sys/kern/vfs_acl.c |
+1 | -0 | 1 files |
kern___acl_aclcheck_path: vrele the vnode after namei() (cherry picked from commit 7fad17a3e63481ef71b731b0059cb918aec14f17)
Delta | File | |
---|---|---|
+1 | -0 | sys/kern/vfs_acl.c |
+1 | -0 | 1 files |
kern___acl_aclcheck_path: vrele the vnode after namei() Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week
Delta | File | |
---|---|---|
+1 | -0 | sys/kern/vfs_acl.c |
+1 | -0 | 1 files |
acl_copyin: avoid returning uninitialized memory acl_copyin did not validate the return value of acl_copy_oldacl_into_acl which could lead to uninitialized acl structure memory reads. Reported by: Synacktiv Reviewed by: markj, emaste Sponsored by: The Alpha-Omega Project Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46125 (cherry picked from commit 6ee6c7b146643170602091e8c330314e4ef47b42) (cherry picked from commit 6bf5c32ad8aa1f1602b3cefb0b5e5918db287335) (cherry picked from commit 8f16d9f7dc8c119f8ba9ff27d4ce9c48d0b56d11) Approved by: re (cperciva)
Delta | File | |
---|---|---|
+1 | -1 | sys/kern/vfs_acl.c |
+1 | -1 | 1 files |
acl_copyin: avoid returning uninitialized memory acl_copyin did not validate the return value of acl_copy_oldacl_into_acl which could lead to uninitialized acl structure memory reads. Reported by: Synacktiv Reviewed by: markj, emaste Sponsored by: The Alpha-Omega Project Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46125 (cherry picked from commit 6ee6c7b146643170602091e8c330314e4ef47b42) (cherry picked from commit 6bf5c32ad8aa1f1602b3cefb0b5e5918db287335)
Delta | File | |
---|---|---|
+1 | -1 | sys/kern/vfs_acl.c |
+1 | -1 | 1 files |
acl_copyin: avoid returning uninitialized memory acl_copyin did not validate the return value of acl_copy_oldacl_into_acl which could lead to uninitialized acl structure memory reads. Reported by: Synacktiv Reviewed by: markj, emaste Sponsored by: The Alpha-Omega Project Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46125 (cherry picked from commit 6ee6c7b146643170602091e8c330314e4ef47b42)
Delta | File | |
---|---|---|
+1 | -1 | sys/kern/vfs_acl.c |
+1 | -1 | 1 files |
acl_copyin: avoid returning uninitialized memory acl_copyin did not validate the return value of acl_copy_oldacl_into_acl which could lead to uninitialized acl structure memory reads. Reported by: Synacktiv Reviewed by: markj, emaste Sponsored by: The Alpha-Omega Project Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46125
Delta | File | |
---|---|---|
+1 | -1 | sys/kern/vfs_acl.c |
+1 | -1 | 1 files |
sys: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/ Similar commit in current: (cherry picked from commit 685dc743dc3b)
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
Delta | File | |
---|---|---|
+2 | -2 | sys/dev/qlxge/qls_isr.c |
+2 | -2 | sys/xen/xenbus/xenbusb.h |
+1 | -1 | include/bitstring.h |
+1 | -1 | include/complex.h |
+1 | -1 | include/cpio.h |
+1 | -1 | include/elf-hints.h |
+8 | -8 | 5,432 files not shown |
+5,440 | -5,440 | 5,438 files |
__acl_get_fd(2), __acl_aclcheck_fd(2): enable for O_PATH filedescriptors PR: 271704 (cherry picked from commit 7a292504bad8467915f072f0576b2a07c76de1f5)
Delta | File | |
---|---|---|
+2 | -2 | sys/kern/vfs_acl.c |
+2 | -1 | lib/libc/sys/open.2 |
+4 | -3 | 2 files |
__acl_get_fd(2), __acl_aclcheck_fd(2): enable for O_PATH filedescriptors PR: 271704 Reported by: Peter Eriksson <pen at lysator.liu.se> Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40318
Delta | File | |
---|---|---|
+2 | -2 | sys/kern/vfs_acl.c |
+2 | -1 | lib/libc/sys/open.2 |
+4 | -3 | 2 files |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
Delta | File | |
---|---|---|
+2 | -2 | sys/dev/qlxge/qls_isr.c |
+2 | -2 | sys/xen/xenbus/xenbusb.h |
+1 | -1 | lib/libc/gen/utxdb.c |
+1 | -1 | lib/libc/gen/utxdb.h |
+1 | -1 | lib/libc/gen/waitid.c |
+1 | -1 | lib/libc/gen/wordexp.c |
+8 | -8 | 5,571 files not shown |
+5,579 | -5,579 | 5,577 files |
vfs: stop using NDFREE It provides nothing but a branchfest and next to no consumers want it anyway. Tested by: pho
Delta | File | |
---|---|---|
+7 | -4 | sys/kern/vfs_acl.c |
+5 | -3 | sys/kern/vfs_extattr.c |
+4 | -3 | sys/security/mac/mac_syscalls.c |
+3 | -1 | sys/kern/vfs_cache.c |
+2 | -1 | sys/kern/vfs_subr.c |
+21 | -12 | 5 files |
vfs: introduce V_PCATCH to stop abusing PCATCH
Delta | File | |
---|---|---|
+15 | -15 | sys/kern/vfs_syscalls.c |
+14 | -8 | sys/kern/vfs_vnops.c |
+3 | -3 | sys/fs/unionfs/union_subr.c |
+3 | -3 | sys/kern/vfs_extattr.c |
+2 | -2 | sys/security/mac/mac_syscalls.c |
+2 | -2 | sys/fs/nfsserver/nfs_nfsdstate.c |
+39 | -33 | 6 files not shown |
+47 | -39 | 12 files |
sysent: Get rid of bogus sys/sysent.h include. Where appropriate hide sysent.h under proper condition. MFC after: 2 weeks (cherry picked from commit 31d1b816fe139f46083f8609c34b7d129a6e2ee0)
sysent: Get rid of bogus sys/sysent.h include. Where appropriate hide sysent.h under proper condition. MFC after: 2 weeks
vfs: remove the unused thread argument from NDINIT* See b4a58fbf640409a1 ("vfs: remove cn_thread") Bump __FreeBSD_version to 1400043.
vfs: fix trivial whitespace issues which don't interefere with blame .. even without the -w switch
Delta | File | |
---|---|---|
+8 | -8 | sys/kern/vfs_bio.c |
+3 | -3 | sys/kern/vfs_vnops.c |
+2 | -2 | sys/kern/vfs_lookup.c |
+1 | -1 | sys/kern/vfs_mountroot.c |
+1 | -1 | sys/kern/vfs_export.c |
+1 | -1 | sys/kern/vfs_acl.c |
+16 | -16 | 4 files not shown |
+19 | -20 | 10 files |
Merge ^/head r357931 through r357965.
Delta | File | |
---|---|---|
+87 | -145 | sys/kern/kern_tc.c |
+174 | -54 | sys/contrib/dev/acpica/compiler/aslload.c |
+170 | -35 | sys/contrib/dev/acpica/compiler/aslmethod.c |
+100 | -2 | sys/contrib/dev/acpica/changes.txt |
+43 | -43 | sys/kern/subr_capability.c |
+79 | -5 | sys/contrib/dev/acpica/compiler/asltransform.c |
+653 | -284 | 55 files not shown |
+1,109 | -510 | 61 files |
vfs: use new capsicum helpers
Delta | File | |
---|---|---|
+11 | -11 | sys/kern/vfs_syscalls.c |
+4 | -4 | sys/kern/vfs_acl.c |
+4 | -4 | sys/kern/vfs_extattr.c |
+3 | -3 | sys/kern/vfs_lookup.c |
+22 | -22 | 4 files |
Merge ^/head r357270 through r357349.
Delta | File | |
---|---|---|
+332 | -108 | sys/vm/uma_core.c |
+386 | -0 | sys/kern/subr_smr.c |
+19 | -257 | contrib/apr/random/unix/apr_random.c |
+227 | -0 | tools/uma/smrstress/smrstress.c |
+179 | -0 | sys/sys/smr.h |
+80 | -94 | sys/dev/mlx5/mlx5_core/mlx5_cq.c |
+1,223 | -459 | 214 files not shown |
+2,311 | -1,925 | 220 files |
Remove duplicated empty lines from kern/*.c No functional changes.
Delta | File | |
---|---|---|
+0 | -6 | sys/kern/subr_filter.c |
+0 | -6 | sys/kern/kern_jail.c |
+0 | -4 | sys/kern/uipc_usrreq.c |
+0 | -4 | sys/kern/subr_unit.c |
+0 | -4 | sys/kern/vfs_vnops.c |
+0 | -4 | sys/kern/subr_intr.c |
+0 | -28 | 56 files not shown |
+0 | -111 | 62 files |
vfs: drop the mostly unused flags argument from VOP_UNLOCK Filesystems which want to use it in limited capacity can employ the VOP_UNLOCK_FLAGS macro. Reviewed by: kib (previous version) Differential Revision: https://reviews.freebsd.org/D21427
Delta | File | |
---|---|---|
+30 | -30 | sys/fs/unionfs/union_vnops.c |
+25 | -25 | sys/kern/vfs_vnops.c |
+24 | -24 | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c |
+22 | -22 | sys/kern/vfs_syscalls.c |
+21 | -21 | sys/ufs/ufs/ufs_vnops.c |
+17 | -22 | sys/kern/vfs_subr.c |
+139 | -144 | 109 files not shown |
+572 | -589 | 115 files |
Reduce duplication in __acl_*_(file|link). Add const to new kern_ functions and push down as required. Reviewed by: rwatson Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14174
Delta | File | |
---|---|---|
+64 | -54 | sys/kern/vfs_acl.c |
+64 | -54 | 1 files |
sys/kern: adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Delta | File | |
---|---|---|
+3 | -1 | sys/kern/subr_pctrie.c |
+3 | -1 | sys/libkern/arm/aeabi_unwind.c |
+2 | -0 | sys/kern/sys_process.c |
+2 | -0 | sys/kern/sysv_ipc.c |
+2 | -0 | sys/kern/sysv_msg.c |
+2 | -0 | sys/kern/sysv_sem.c |
+14 | -2 | 123 files not shown |
+260 | -2 | 129 files |
Add system-call argument auditing for ACL-related system calls. Obtained from: TrustedBSD Project MFC after: 3 weeks Sponsored by: DARPA, AFRL
Delta | File | |
---|---|---|
+27 | -5 | sys/kern/vfs_acl.c |
+27 | -5 | 1 files |
Catch up with HEAD (r280229-r284686).
Delta | File | |
---|---|---|
+177,242 | -8,203 | contrib/ntp/CommitLog |
+29,219 | -17,107 | contrib/ntp/configure |
+27,253 | -11,174 | contrib/ntp/sntp/configure |
+10,723 | -13,061 | sys/dev/hptnr/amd64-elf.hptnr_lib.o.uu |
+17,937 | -0 | contrib/ntp/sntp/libevent/configure |
+7,405 | -9,147 | sys/dev/hptnr/i386-elf.hptnr_lib.o.uu |
+269,779 | -58,692 | 10,019 files not shown |
+1,440,418 | -650,386 | 10,025 files |
Merge ^/head r284188 through r284643.
Delta | File | |
---|---|---|
+0 | -3,391 | usr.bin/make/job.c |
+0 | -2,623 | usr.bin/make/var.c |
+0 | -2,545 | usr.bin/make/parse.c |
+2,530 | -0 | lib/ncurses/ncursesw/Makefile.depend |
+0 | -2,205 | usr.bin/make/suff.c |
+0 | -1,843 | usr.bin/make/make.1 |
+2,530 | -12,607 | 2,797 files not shown |
+72,851 | -31,534 | 2,803 files |
Merge from head at 274131
Delta | File | |
---|---|---|
+64 | -45 | sys/dev/drm2/ttm/ttm_page_alloc.c |
+29 | -30 | lib/msun/src/s_csinh.c |
+40 | -3 | sys/dev/mii/mii.h |
+21 | -20 | lib/msun/src/s_ccosh.c |
+18 | -17 | lib/msun/src/s_ctanh.c |
+14 | -17 | lib/msun/src/s_csinhf.c |
+186 | -132 | 40 files not shown |
+424 | -257 | 46 files |