CVS commit: src/usr.sbin/paxctl
Module Name:src Committed By: dholland Date: Mon Aug 21 00:41:49 UTC 2023 Modified Files: src/usr.sbin/paxctl: paxctl.8 Log Message: paxctl(8): it is not a bug that paxctl settings are persistent. Nor is it a bug that they're applied to the file rather than stored in some magic secret database where they survive reinstalls, which the prior wording seems to suggest was the eventual intention. It is worth noting that they change the target file, so still say that. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/paxctl/paxctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/paxctl/paxctl.8 diff -u src/usr.sbin/paxctl/paxctl.8:1.21 src/usr.sbin/paxctl/paxctl.8:1.22 --- src/usr.sbin/paxctl/paxctl.8:1.21 Wed Aug 16 22:22:02 2023 +++ src/usr.sbin/paxctl/paxctl.8 Mon Aug 21 00:41:49 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: paxctl.8,v 1.21 2023/08/16 22:22:02 gutteridge Exp $ +.\" $NetBSD: paxctl.8,v 1.22 2023/08/21 00:41:49 dholland Exp $ .\" .\" Copyright 2006 Elad Efrat .\" Copyright 2008 Christos Zoulas @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 23, 2023 +.Dd August 20, 2023 .Dt PAXCTL 8 .Os .Sh NAME @@ -104,17 +104,17 @@ PaX project. .Sh AUTHORS .An Elad Efrat Aq Mt e...@netbsd.org .An Christos Zoulas Aq Mt chris...@netbsd.org -.Sh BUGS +.Sh RESTRICTIONS The .Nm -utility currently uses +utility uses .Xr elf 5 -note sections to mark executables as having PaX flags enabled. -This will be done using -.Xr fileassoc 9 -in the future so that we can control who does the marking and -not alter the binary file signature. -.Po -Note this also means that -at present any flags set do not survive binary file upgrades. -.Pc +note sections to mark executables with PaX flags. +This means that, as one might expect, the PaX settings do not persist +if the program file is replaced. +It also means that running +.Nm +changes the target executable, which can be undesirable in production. +In general, +.Nm +settings should be applied to programs at build time.
CVS commit: src/usr.sbin/paxctl
Module Name:src Committed By: dholland Date: Mon Aug 21 00:41:49 UTC 2023 Modified Files: src/usr.sbin/paxctl: paxctl.8 Log Message: paxctl(8): it is not a bug that paxctl settings are persistent. Nor is it a bug that they're applied to the file rather than stored in some magic secret database where they survive reinstalls, which the prior wording seems to suggest was the eventual intention. It is worth noting that they change the target file, so still say that. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/paxctl/paxctl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make/unit-tests
Module Name:src Committed By: rillig Date: Sun Aug 20 20:48:33 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: directive-export-gmake.exp directive-export-gmake.mk directive-export.exp directive-export.mk Log Message: tests/make: show a difference between 'export' and '.export' To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/usr.bin/make/unit-tests/directive-export-gmake.exp \ src/usr.bin/make/unit-tests/directive-export.exp cvs rdiff -u -r1.6 -r1.7 \ src/usr.bin/make/unit-tests/directive-export-gmake.mk cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/directive-export.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/make/unit-tests/directive-export-gmake.exp diff -u src/usr.bin/make/unit-tests/directive-export-gmake.exp:1.4 src/usr.bin/make/unit-tests/directive-export-gmake.exp:1.5 --- src/usr.bin/make/unit-tests/directive-export-gmake.exp:1.4 Sat Aug 19 11:09:02 2023 +++ src/usr.bin/make/unit-tests/directive-export-gmake.exp Sun Aug 20 20:48:32 2023 @@ -1,4 +1,5 @@ make: "directive-export-gmake.mk" line 71: Invalid line 'export VAR=${:U1}', expanded to 'export VAR=1' +make: "directive-export-gmake.mk" line 85: 16:00:00 make: Fatal errors encountered -- cannot continue make: stopped in unit-tests exit status 1 Index: src/usr.bin/make/unit-tests/directive-export.exp diff -u src/usr.bin/make/unit-tests/directive-export.exp:1.4 src/usr.bin/make/unit-tests/directive-export.exp:1.5 --- src/usr.bin/make/unit-tests/directive-export.exp:1.4 Sun Dec 13 01:07:54 2020 +++ src/usr.bin/make/unit-tests/directive-export.exp Sun Aug 20 20:48:32 2023 @@ -1 +1,4 @@ +make: "directive-export.mk" line 50: 00:00:00 +make: "directive-export.mk" line 55: 00:00:00 +make: "directive-export.mk" line 58: 16:00:00 exit status 0 Index: src/usr.bin/make/unit-tests/directive-export-gmake.mk diff -u src/usr.bin/make/unit-tests/directive-export-gmake.mk:1.6 src/usr.bin/make/unit-tests/directive-export-gmake.mk:1.7 --- src/usr.bin/make/unit-tests/directive-export-gmake.mk:1.6 Sat Aug 19 11:09:02 2023 +++ src/usr.bin/make/unit-tests/directive-export-gmake.mk Sun Aug 20 20:48:32 2023 @@ -1,4 +1,4 @@ -# $NetBSD: directive-export-gmake.mk,v 1.6 2023/08/19 11:09:02 rillig Exp $ +# $NetBSD: directive-export-gmake.mk,v 1.7 2023/08/20 20:48:32 rillig Exp $ # # Tests for the export directive (without leading dot), as in GNU make. @@ -70,3 +70,16 @@ export VAR=an ${UNDEF} variable # expect+1: Invalid line 'export VAR=${:U1}' export VAR=${value} .endfor + + +# The 'export' directive expands expressions, but the expressions must not +# contain a ':', due to the overly strict parser. The indirect expressions +# may contain a ':', though. +# +# As a side effect, this test demonstrates that the 'export' directive exports +# the environment variable immediately, other than the '.export' directive, +# which defers that action if the variable value contains a '$'. +INDIRECT_TZ= ${:UAmerica/Los_Angeles} +export TZ=${INDIRECT_TZ} +# expect+1: 16:00:00 +.info ${%T:L:localtime=86400} Index: src/usr.bin/make/unit-tests/directive-export.mk diff -u src/usr.bin/make/unit-tests/directive-export.mk:1.8 src/usr.bin/make/unit-tests/directive-export.mk:1.9 --- src/usr.bin/make/unit-tests/directive-export.mk:1.8 Tue Feb 16 19:01:18 2021 +++ src/usr.bin/make/unit-tests/directive-export.mk Sun Aug 20 20:48:32 2023 @@ -1,4 +1,4 @@ -# $NetBSD: directive-export.mk,v 1.8 2021/02/16 19:01:18 rillig Exp $ +# $NetBSD: directive-export.mk,v 1.9 2023/08/20 20:48:32 rillig Exp $ # # Tests for the .export directive. # @@ -41,4 +41,21 @@ EMPTY_SHELL= ${:sh} _!= :;: # Force the variable to be actually exported. +# If the '.export' directive exports a variable whose value contains a '$', +# the actual export action is deferred until a subprocess is started, assuming +# that only subprocesses access the environment variables. The ':localtime' +# modifier depends on the 'TZ' environment variable, without any subprocess. +export TZ=${UTC} +# expect+1: 00:00:00 +.info ${%T:L:localtime=86400} +INDIRECT_TZ= ${:UAmerica/Los_Angeles} +TZ= ${INDIRECT_TZ} +.export TZ +# expect+1: 00:00:00 +.info ${%T:L:localtime=86400} +_!= echo 'force exporting the environment variables' +# expect+1: 16:00:00 +.info ${%T:L:localtime=86400} + + all:
CVS commit: src/usr.bin/make/unit-tests
Module Name:src Committed By: rillig Date: Sun Aug 20 20:48:33 UTC 2023 Modified Files: src/usr.bin/make/unit-tests: directive-export-gmake.exp directive-export-gmake.mk directive-export.exp directive-export.mk Log Message: tests/make: show a difference between 'export' and '.export' To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/usr.bin/make/unit-tests/directive-export-gmake.exp \ src/usr.bin/make/unit-tests/directive-export.exp cvs rdiff -u -r1.6 -r1.7 \ src/usr.bin/make/unit-tests/directive-export-gmake.mk cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/directive-export.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make
Module Name:src Committed By: sjg Date: Sun Aug 20 19:58:15 UTC 2023 Modified Files: src/usr.bin/make: make.1 Log Message: make.1: note that %s should only be used with :localtime To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.368 src/usr.bin/make/make.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/make
Module Name:src Committed By: sjg Date: Sun Aug 20 19:58:15 UTC 2023 Modified Files: src/usr.bin/make: make.1 Log Message: make.1: note that %s should only be used with :localtime To generate a diff of this commit: cvs rdiff -u -r1.367 -r1.368 src/usr.bin/make/make.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/make/make.1 diff -u src/usr.bin/make/make.1:1.367 src/usr.bin/make/make.1:1.368 --- src/usr.bin/make/make.1:1.367 Wed Jun 28 06:15:07 2023 +++ src/usr.bin/make/make.1 Sun Aug 20 19:58:15 2023 @@ -1,4 +1,4 @@ -.\" $NetBSD: make.1,v 1.367 2023/06/28 06:15:07 rillig Exp $ +.\" $NetBSD: make.1,v 1.368 2023/08/20 19:58:15 sjg Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 .\" -.Dd June 28, 2023 +.Dd August 20, 2023 .Dt MAKE 1 .Os .Sh NAME @@ -1496,6 +1496,10 @@ The value is interpreted as a format str using .Xr gmtime 3 , producing the formatted timestamp. +Note: the +.Ql %s +format should only be used with +.Sq Cm \&:localtime . If a .Ar timestamp value is not provided or is 0, the current time is used.
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: riastradh Date: Sun Aug 20 19:36:56 UTC 2023 Modified Files: src/distrib/sets/lists/tests: md.amd64 mi Log Message: distrib/sets/lists/tests: Correction: h_inotify_* are MI. Debug lists are probably still wrong, though -- looks like there's no rule to change h_inotify_*.out.debug to h_inotify_*.debug. Out of energy to look into this further, though; please fix me! To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/distrib/sets/lists/tests/md.amd64 cvs rdiff -u -r1.1290 -r1.1291 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/tests/md.amd64 diff -u src/distrib/sets/lists/tests/md.amd64:1.16 src/distrib/sets/lists/tests/md.amd64:1.17 --- src/distrib/sets/lists/tests/md.amd64:1.16 Sun Aug 20 12:29:16 2023 +++ src/distrib/sets/lists/tests/md.amd64 Sun Aug 20 19:36:56 2023 @@ -1,8 +1,4 @@ -# $NetBSD: md.amd64,v 1.16 2023/08/20 12:29:16 riastradh Exp $ -./usr/tests/compat/linux/h_inotify_init tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_directory tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_single_file tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_watch_change tests-compat-tests compattestfile,atf +# $NetBSD: md.amd64,v 1.17 2023/08/20 19:36:56 riastradh Exp $ ./usr/tests/kernel/arch/x86/Atffile tests-obsolete obsolete ./usr/tests/kernel/arch/x86/Kyuafile tests-obsolete obsolete ./usr/tests/kernel/arch/x86/t_ptrace_wait tests-obsolete obsolete Index: src/distrib/sets/lists/tests/mi diff -u src/distrib/sets/lists/tests/mi:1.1290 src/distrib/sets/lists/tests/mi:1.1291 --- src/distrib/sets/lists/tests/mi:1.1290 Sun Aug 20 12:29:16 2023 +++ src/distrib/sets/lists/tests/mi Sun Aug 20 19:36:56 2023 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1290 2023/08/20 12:29:16 riastradh Exp $ +# $NetBSD: mi,v 1.1291 2023/08/20 19:36:56 riastradh Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -1330,6 +1330,10 @@ ./usr/tests/compat/Atffiletests-compat-tests compattestfile,atf ./usr/tests/compat/linuxtests-compat-tests compattestfile,atf ./usr/tests/compat/linux/Atffile tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_init tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_directory tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_single_file tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_watch_change tests-compat-tests compattestfile,atf ./usr/tests/compat/linux/t_inotify tests-compat-tests compattestfile,atf ./usr/tests/crypto tests-crypto-tests compattestfile,atf ./usr/tests/crypto/Atffiletests-crypto-tests compattestfile,atf
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: riastradh Date: Sun Aug 20 19:36:56 UTC 2023 Modified Files: src/distrib/sets/lists/tests: md.amd64 mi Log Message: distrib/sets/lists/tests: Correction: h_inotify_* are MI. Debug lists are probably still wrong, though -- looks like there's no rule to change h_inotify_*.out.debug to h_inotify_*.debug. Out of energy to look into this further, though; please fix me! To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/distrib/sets/lists/tests/md.amd64 cvs rdiff -u -r1.1290 -r1.1291 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/linux/common
Module Name:src Committed By: christos Date: Sun Aug 20 18:09:25 UTC 2023 Modified Files: src/sys/compat/linux/common: linux_inotify.c Log Message: fix locking: eliminate using mutex_owned() (Theodore Preduta) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/common/linux_inotify.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/linux/common/linux_inotify.c diff -u src/sys/compat/linux/common/linux_inotify.c:1.1 src/sys/compat/linux/common/linux_inotify.c:1.2 --- src/sys/compat/linux/common/linux_inotify.c:1.1 Sat Aug 19 13:57:54 2023 +++ src/sys/compat/linux/common/linux_inotify.c Sun Aug 20 14:09:25 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_inotify.c,v 1.1 2023/08/19 17:57:54 christos Exp $ */ +/* $NetBSD: linux_inotify.c,v 1.2 2023/08/20 18:09:25 christos Exp $ */ /*- * Copyright (c) 2023 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_inotify.c,v 1.1 2023/08/19 17:57:54 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_inotify.c,v 1.2 2023/08/20 18:09:25 christos Exp $"); #include #include @@ -135,8 +135,8 @@ static void do_kevent_to_inotify(int32_t struct inotify_entry *, size_t *, char *); static int kevent_to_inotify(struct inotifyfd *, int, enum vtype, uint32_t, uint32_t, struct inotify_entry *, size_t *); -static int inotify_readdir(file_t *, struct dirent *, int *); -static struct inotify_dir_entries *get_inotify_dir_entries(int); +static int inotify_readdir(file_t *, struct dirent *, int *, bool); +static struct inotify_dir_entries *get_inotify_dir_entries(int, bool); static int inotify_filt_attach(struct knote *); static void inotify_filt_detach(struct knote *); @@ -417,15 +417,15 @@ linux_sys_inotify_add_watch(struct lwp * syscallarg(const char *) pathname; syscallarg(uint32_t) mask; } */ - int wd, dup_of_wd, i, error = 0; + int wd, i, error = 0; file_t *fp, *wp, *cur_fp; - struct stat wst, cur_st; struct inotifyfd *ifd; struct inotify_dir_entries **new_wds; struct knote *kn, *tmpkn; struct sys_open_args oa; struct kevent kev; - enum vtype wtype; + struct vnode *wvp; + namei_simple_flags_t sflags; struct kevent_ops k_ops = { .keo_private = NULL, .keo_fetch_timeout = NULL, @@ -452,38 +452,16 @@ linux_sys_inotify_add_watch(struct lwp * mutex_enter(>ifd_lock); - /* open a new file descriptor for the watch descriptor */ - SCARG(, path) = SCARG(uap, pathname); - SCARG(, mode) = 0; - SCARG(, flags) = O_RDONLY; if (mask & LINUX_IN_DONT_FOLLOW) - SCARG(, flags) |= O_NOFOLLOW; - if (mask & LINUX_IN_ONLYDIR) - SCARG(, flags) |= O_DIRECTORY; - - error = sys_open(l, , retval); + sflags = NSM_NOFOLLOW_TRYEMULROOT; + else + sflags = NSM_FOLLOW_TRYEMULROOT; + error = namei_simple_user(SCARG(uap, pathname), sflags, ); if (error != 0) goto leave1; - wd = *retval; - - wp = fd_getfile(wd); - KASSERT(wp != NULL); - wtype = wp->f_vnode->v_type; - error = vn_stat(wp->f_vnode, ); - fd_putfile(wd); - if (error != 0) - goto leave1; - - /* translate the flags */ - memset(, 0, sizeof(kev)); - EV_SET(, wd, inotify_filtid, EV_ADD|EV_ENABLE, - NOTE_DELETE|NOTE_REVOKE, 0, ifd); - if (mask & LINUX_IN_ONESHOT) - kev.flags |= EV_ONESHOT; - kev.fflags |= inotify_mask_to_kevent_fflags(mask, wtype); /* Check to see if we already have a descriptor to wd's file. */ -dup_of_wd = -1; +wd = -1; for (i = 0; i < ifd->ifd_nwds; i++) { if (ifd->ifd_wds[i] != NULL) { cur_fp = fd_getfile(i); @@ -498,24 +476,47 @@ linux_sys_inotify_add_watch(struct lwp * "with a non-vnode\n", __func__, i)); error = EBADF; } - if (error == 0) -error = vn_stat(cur_fp->f_vnode, _st); + if (error == 0 && cur_fp->f_vnode == wvp) +wd = i; fd_putfile(i); if (error != 0) goto leave1; - if (wst.st_ino == cur_st.st_ino) { - dup_of_wd = i; + if (wd != -1) break; - } } } - if (dup_of_wd != -1) { + if (wd == -1) { /* - * If we do not have a descriptor to wd's file, we need to add - * a knote. + * If we do not have a descriptor to wd's file, we + * need to open the watch descriptor. */ + SCARG(, path) = SCARG(uap, pathname); + SCARG(, mode) = 0; + SCARG(, flags) = O_RDONLY; + if (mask & LINUX_IN_DONT_FOLLOW) + SCARG(, flags) |= O_NOFOLLOW; + if (mask & LINUX_IN_ONLYDIR) + SCARG(, flags) |= O_DIRECTORY; + + error = sys_open(l, , retval); + if (error != 0) + goto leave1; + wd = *retval; + wp = fd_getfile(wd); + KASSERT(wp != NULL); + KASSERT(wp->f_type == DTYPE_VNODE); + + /* translate the flags */ + memset(, 0, sizeof(kev)); + EV_SET(, wd, inotify_filtid, EV_ADD|EV_ENABLE, + NOTE_DELETE|NOTE_REVOKE, 0, ifd); + if (mask & LINUX_IN_ONESHOT) + kev.flags |= EV_ONESHOT; + kev.fflags |=
CVS commit: src/sys/compat/linux/common
Module Name:src Committed By: christos Date: Sun Aug 20 18:09:25 UTC 2023 Modified Files: src/sys/compat/linux/common: linux_inotify.c Log Message: fix locking: eliminate using mutex_owned() (Theodore Preduta) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/common/linux_inotify.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/linux
Module Name:src Committed By: christos Date: Sun Aug 20 18:08:57 UTC 2023 Modified Files: src/sys/compat/linux: files.linux Log Message: add inotify (forgot to commit this) To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/compat/linux/files.linux Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/compat/linux/files.linux diff -u src/sys/compat/linux/files.linux:1.22 src/sys/compat/linux/files.linux:1.23 --- src/sys/compat/linux/files.linux:1.22 Sat Jan 26 21:08:39 2019 +++ src/sys/compat/linux/files.linux Sun Aug 20 14:08:57 2023 @@ -1,4 +1,4 @@ -# $NetBSD: files.linux,v 1.22 2019/01/27 02:08:39 pgoyette Exp $ +# $NetBSD: files.linux,v 1.23 2023/08/20 18:08:57 christos Exp $ # # Config file description for machine-independent Linux compat code. # Included by ports that need it. @@ -17,6 +17,7 @@ file compat/linux/common/linux_exec_aout file compat/linux/common/linux_fdio.c compat_linux file compat/linux/common/linux_file.c compat_linux file compat/linux/common/linux_hdio.c compat_linux +file compat/linux/common/linux_inotify.c compat_linux file compat/linux/common/linux_ioctl.c compat_linux file compat/linux/common/linux_ipc.c compat_linux file compat/linux/common/linux_misc.c compat_linux
CVS commit: src/sys/compat/linux
Module Name:src Committed By: christos Date: Sun Aug 20 18:08:57 UTC 2023 Modified Files: src/sys/compat/linux: files.linux Log Message: add inotify (forgot to commit this) To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/compat/linux/files.linux Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: riastradh Date: Sun Aug 20 12:29:16 UTC 2023 Modified Files: src/distrib/sets/lists/tests: md.amd64 mi Log Message: distrib/sets/lists: /usr/tests/compat/linux/h_* is amd64-only for now. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/distrib/sets/lists/tests/md.amd64 cvs rdiff -u -r1.1289 -r1.1290 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/tests/md.amd64 diff -u src/distrib/sets/lists/tests/md.amd64:1.15 src/distrib/sets/lists/tests/md.amd64:1.16 --- src/distrib/sets/lists/tests/md.amd64:1.15 Fri Oct 16 07:12:26 2020 +++ src/distrib/sets/lists/tests/md.amd64 Sun Aug 20 12:29:16 2023 @@ -1,4 +1,8 @@ -# $NetBSD: md.amd64,v 1.15 2020/10/16 07:12:26 mgorny Exp $ +# $NetBSD: md.amd64,v 1.16 2023/08/20 12:29:16 riastradh Exp $ +./usr/tests/compat/linux/h_inotify_init tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_directory tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_single_file tests-compat-tests compattestfile,atf +./usr/tests/compat/linux/h_inotify_watch_change tests-compat-tests compattestfile,atf ./usr/tests/kernel/arch/x86/Atffile tests-obsolete obsolete ./usr/tests/kernel/arch/x86/Kyuafile tests-obsolete obsolete ./usr/tests/kernel/arch/x86/t_ptrace_wait tests-obsolete obsolete Index: src/distrib/sets/lists/tests/mi diff -u src/distrib/sets/lists/tests/mi:1.1289 src/distrib/sets/lists/tests/mi:1.1290 --- src/distrib/sets/lists/tests/mi:1.1289 Sun Aug 20 12:21:35 2023 +++ src/distrib/sets/lists/tests/mi Sun Aug 20 12:29:16 2023 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1289 2023/08/20 12:21:35 riastradh Exp $ +# $NetBSD: mi,v 1.1290 2023/08/20 12:29:16 riastradh Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -1331,10 +1331,6 @@ ./usr/tests/compat/linuxtests-compat-tests compattestfile,atf ./usr/tests/compat/linux/Atffile tests-compat-tests compattestfile,atf ./usr/tests/compat/linux/t_inotify tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_init tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_directory tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_single_file tests-compat-tests compattestfile,atf -./usr/tests/compat/linux/h_inotify_watch_change tests-compat-tests compattestfile,atf ./usr/tests/crypto tests-crypto-tests compattestfile,atf ./usr/tests/crypto/Atffiletests-crypto-tests compattestfile,atf ./usr/tests/crypto/Kyuafiletests-crypto-tests compattestfile,atf,kyua
CVS commit: src/distrib/sets/lists/tests
Module Name:src Committed By: riastradh Date: Sun Aug 20 12:29:16 UTC 2023 Modified Files: src/distrib/sets/lists/tests: md.amd64 mi Log Message: distrib/sets/lists: /usr/tests/compat/linux/h_* is amd64-only for now. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/distrib/sets/lists/tests/md.amd64 cvs rdiff -u -r1.1289 -r1.1290 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/debug
Module Name:src Committed By: riastradh Date: Sun Aug 20 12:27:02 UTC 2023 Modified Files: src/distrib/sets/lists/debug: md.amd64 mi Log Message: distrib/sets/lists: compat/linux/h_*.debug is amd64-only for now. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/distrib/sets/lists/debug/md.amd64 cvs rdiff -u -r1.417 -r1.418 src/distrib/sets/lists/debug/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/debug
Module Name:src Committed By: riastradh Date: Sun Aug 20 12:27:02 UTC 2023 Modified Files: src/distrib/sets/lists/debug: md.amd64 mi Log Message: distrib/sets/lists: compat/linux/h_*.debug is amd64-only for now. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/distrib/sets/lists/debug/md.amd64 cvs rdiff -u -r1.417 -r1.418 src/distrib/sets/lists/debug/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/debug/md.amd64 diff -u src/distrib/sets/lists/debug/md.amd64:1.119 src/distrib/sets/lists/debug/md.amd64:1.120 --- src/distrib/sets/lists/debug/md.amd64:1.119 Mon Aug 7 16:14:32 2023 +++ src/distrib/sets/lists/debug/md.amd64 Sun Aug 20 12:27:02 2023 @@ -1,4 +1,4 @@ -# $NetBSD: md.amd64,v 1.119 2023/08/07 16:14:32 riastradh Exp $ +# $NetBSD: md.amd64,v 1.120 2023/08/20 12:27:02 riastradh Exp $ ./usr/libdata/debug/usr/bin/gdbserver.debug base-util-debug gdb,debug ./usr/lib/i386/12.202++_g.a comp-c-debuglib debuglib,compat,12.202xx ./usr/lib/i386/libi386_g.a comp-c-debuglib debuglib,compat @@ -17,6 +17,10 @@ ./usr/libdata/debug/usr/lib/libx86_64.so.0.0.debug comp-sys-shlib pic,debug ./usr/libdata/debug/usr/libexec/ld.elf_so-i386 comp-obsolete obsolete ./usr/libdata/debug/usr/libexec/ld.elf_so-i386.debug comp-sys-debug debug,compat +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_init.debug tests-sys-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_directory.debug tests-sys-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_single_file.debug tests-sys-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_watch_change.debug tests-sys-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/kernel/arch/x86/t_ptrace_wait.debug tests-obsolete obsolete ./usr/libdata/debug/usr/tests/kernel/arch/x86/t_ptrace_wait3.debug tests-obsolete obsolete ./usr/libdata/debug/usr/tests/kernel/arch/x86/t_ptrace_wait4.debug tests-obsolete obsolete Index: src/distrib/sets/lists/debug/mi diff -u src/distrib/sets/lists/debug/mi:1.417 src/distrib/sets/lists/debug/mi:1.418 --- src/distrib/sets/lists/debug/mi:1.417 Sun Aug 20 12:21:35 2023 +++ src/distrib/sets/lists/debug/mi Sun Aug 20 12:27:02 2023 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.417 2023/08/20 12:21:35 riastradh Exp $ +# $NetBSD: mi,v 1.418 2023/08/20 12:27:02 riastradh Exp $ ./etc/mtree/set.debug comp-sys-root ./usr/lib comp-sys-usr compatdir ./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile @@ -1613,10 +1613,6 @@ ./usr/libdata/debug/usr/tests/atf/units/t_user.debug tests-obsolete obsolete ./usr/libdata/debug/usr/tests/atf/units/t_utils.debug tests-obsolete obsolete ./usr/libdata/debug/usr/tests/bin/df/h_df.debugtests-bin-debug debug,atf,compattestfile -./usr/libdata/debug/usr/tests/compat/linux/h_inotify_init.debug tests-sys-debug debug,atf,compattestfile -./usr/libdata/debug/usr/tests/compat/linux/h_inotify_directory.debug tests-sys-debug debug,atf,compattestfile -./usr/libdata/debug/usr/tests/compat/linux/h_inotify_single_file.debug tests-sys-debug debug,atf,compattestfile -./usr/libdata/debug/usr/tests/compat/linux/h_inotify_watch_change.debug tests-sys-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_bftest.debug tests-crypto-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_bntest.debug tests-crypto-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_casttest.debug tests-crypto-debug debug,atf,compattestfile
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: riastradh Date: Sun Aug 20 12:21:35 UTC 2023 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi Log Message: distrib/sets/lists: Add .debug files for new compat/linux tests. To generate a diff of this commit: cvs rdiff -u -r1.416 -r1.417 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.1288 -r1.1289 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/debug/mi diff -u src/distrib/sets/lists/debug/mi:1.416 src/distrib/sets/lists/debug/mi:1.417 --- src/distrib/sets/lists/debug/mi:1.416 Tue Aug 8 06:22:31 2023 +++ src/distrib/sets/lists/debug/mi Sun Aug 20 12:21:35 2023 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.416 2023/08/08 06:22:31 rin Exp $ +# $NetBSD: mi,v 1.417 2023/08/20 12:21:35 riastradh Exp $ ./etc/mtree/set.debug comp-sys-root ./usr/lib comp-sys-usr compatdir ./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile @@ -1613,6 +1613,10 @@ ./usr/libdata/debug/usr/tests/atf/units/t_user.debug tests-obsolete obsolete ./usr/libdata/debug/usr/tests/atf/units/t_utils.debug tests-obsolete obsolete ./usr/libdata/debug/usr/tests/bin/df/h_df.debugtests-bin-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_init.debug tests-sys-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_directory.debug tests-sys-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_single_file.debug tests-sys-debug debug,atf,compattestfile +./usr/libdata/debug/usr/tests/compat/linux/h_inotify_watch_change.debug tests-sys-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_bftest.debug tests-crypto-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_bntest.debug tests-crypto-debug debug,atf,compattestfile ./usr/libdata/debug/usr/tests/crypto/libcrypto/h_casttest.debug tests-crypto-debug debug,atf,compattestfile Index: src/distrib/sets/lists/tests/mi diff -u src/distrib/sets/lists/tests/mi:1.1288 src/distrib/sets/lists/tests/mi:1.1289 --- src/distrib/sets/lists/tests/mi:1.1288 Sat Aug 19 22:57:09 2023 +++ src/distrib/sets/lists/tests/mi Sun Aug 20 12:21:35 2023 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1288 2023/08/19 22:57:09 christos Exp $ +# $NetBSD: mi,v 1.1289 2023/08/20 12:21:35 riastradh Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -19,6 +19,8 @@ ./usr/libdata/debug/usr/tests/atf/units tests-obsolete obsolete ./usr/libdata/debug/usr/tests/bin tests-bin-debug compattestfile,atf ./usr/libdata/debug/usr/tests/bin/df tests-bin-debug compattestfile,atf +./usr/libdata/debug/usr/tests/compat tests-sys-debug compattestfile,atf +./usr/libdata/debug/usr/tests/compat/linux tests-sys-debug compattestfile,atf ./usr/libdata/debug/usr/tests/crypto tests-crypto-debug compattestfile,atf ./usr/libdata/debug/usr/tests/crypto/libcrypto tests-crypto-debug compattestfile,atf ./usr/libdata/debug/usr/tests/crypto/opencrypto tests-crypto-debug compattestfile,atf
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: riastradh Date: Sun Aug 20 12:21:35 UTC 2023 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi Log Message: distrib/sets/lists: Add .debug files for new compat/linux tests. To generate a diff of this commit: cvs rdiff -u -r1.416 -r1.417 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.1288 -r1.1289 src/distrib/sets/lists/tests/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/mtree
Module Name:src Committed By: riastradh Date: Sun Aug 20 10:27:11 UTC 2023 Modified Files: src/etc/mtree: NetBSD.dist.tests Log Message: etc/mtree/NetBSD.dist.tests: Update for new compat linux tests. To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/etc/mtree/NetBSD.dist.tests Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/mtree/NetBSD.dist.tests diff -u src/etc/mtree/NetBSD.dist.tests:1.198 src/etc/mtree/NetBSD.dist.tests:1.199 --- src/etc/mtree/NetBSD.dist.tests:1.198 Sun Jan 15 23:18:05 2023 +++ src/etc/mtree/NetBSD.dist.tests Sun Aug 20 10:27:11 2023 @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.dist.tests,v 1.198 2023/01/15 23:18:05 rillig Exp $ +# $NetBSD: NetBSD.dist.tests,v 1.199 2023/08/20 10:27:11 riastradh Exp $ ./usr/libdata/debug/usr/tests ./usr/libdata/debug/usr/tests/atf @@ -11,6 +11,8 @@ ./usr/libdata/debug/usr/tests/atf/tools ./usr/libdata/debug/usr/tests/bin ./usr/libdata/debug/usr/tests/bin/df +./usr/libdata/debug/usr/tests/compat +./usr/libdata/debug/usr/tests/compat/linux ./usr/libdata/debug/usr/tests/crypto ./usr/libdata/debug/usr/tests/crypto/libcrypto ./usr/libdata/debug/usr/tests/crypto/opencrypto @@ -210,6 +212,8 @@ ./usr/tests/bin/sh/dotcmd/out ./usr/tests/bin/sleep ./usr/tests/bin/tar +./usr/tests/compat +./usr/tests/compat/linux ./usr/tests/crypto ./usr/tests/crypto/libcrypto ./usr/tests/crypto/opencrypto
CVS commit: src/etc/mtree
Module Name:src Committed By: riastradh Date: Sun Aug 20 10:27:11 UTC 2023 Modified Files: src/etc/mtree: NetBSD.dist.tests Log Message: etc/mtree/NetBSD.dist.tests: Update for new compat linux tests. To generate a diff of this commit: cvs rdiff -u -r1.198 -r1.199 src/etc/mtree/NetBSD.dist.tests Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.