Up to [cvs.NetBSD.org] / src / sys / conf
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-7-0-RC1
Revision 1.1096.2.6 / (download) - annotate - [select for diffs], Tue May 19 04:42:31 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-0
Changes since 1.1096.2.5: +2 -2
lines
Diff to previous 1.1096.2.5 (colored) to branchpoint 1.1096 (colored)
Pull up following revision(s) (requested by maxv in ticket #764): sbin/veriexecctl/veriexecctl.c: revision 1.38 share/man/man9/veriexec.9: revision 1.10 sys/conf/files: revision 1.1128 sys/dev/verified_exec.c: revisions 1.70, 1.71 sys/kern/kern_veriexec.c: revisions 1.1-1.8 sys/kern/kern_verifiedexec.c: delete Rename kern_verifiedexec.c to kern_veriexec.c. "Veriexec" is the name of the subsystem, not "Verifiedexec". The revisions of kern_verifiedexec.c are now in Attic/. No change between kern_verifiedexec.c and kern_veriexec.c. Also, update the man page accordingly. Okayed by christos@ and blymn@ some months ago. -- KNF -- Don't mix veriexec lock and file lock in veriexec_file_verify(). Now: - 'veriexec_op_lock' needs to be held when calling veriexec_file_verify() - the 'file_lock_state' argument indicates if the file is locked - add some KASSERTs -- Instead of duplicating code, add veriexec_fp_status(). Also reorder a useless goto. -- Make veriexec_renamechk() more readable. Also add a KASSERT on vte_count. No real functional change -- If we already have an entry for the file being loaded, return EEXIST, don't silently skip it. -- Remove FreeBSD. ok elad@ -- KASSERT x then y, not (x && y). -- KNF -- Not to add even more confusion in an already overcomplicated subsystem, remove the FreeBSD code. This code is likely to be outdated, and Veriexec is in all cases not available on FreeBSD. -- Be a bit more verbose if the kernel rejects a file