Re: CVS commit: src/tests/kernel

2016-11-06 Thread Nicolas Joly
u happened to be uid(10), the setuid() is a no-op, if you were some > other user the setuid() fails, but you don't care. Or use dedicated ATF properties : atf_tc_set_md_var(tc, "require.user", "unprivileged"); Documented in atf-test-case(4). -- Nicolas Joly Cluster & Computing Group Biology IT Center Institut Pasteur, Paris.

Re: CVS commit: src/sys/miscfs/procfs

2014-07-12 Thread Nicolas Joly
On Sat, Jul 12, 2014 at 08:11:46PM +1000, matthew green wrote: Nicolas Joly writes: Module Name:src Committed By: njoly Date: Sat Jul 12 09:58:39 UTC 2014 Modified Files: src/sys/miscfs/procfs: procfs_linux.c Log Message: Use kproc2 to provide

Re: CVS commit: src/lib/libc/sys

2013-07-28 Thread Nicolas Joly
On Sun, Jul 28, 2013 at 09:24:12PM +, Nicolas Joly wrote: Module Name: src Committed By: njoly Date: Sun Jul 28 21:24:12 UTC 2013 Modified Files: src/lib/libc/sys: readlink.2 Log Message: Add readlink(2) specific errors. Should have been Add readlinkat(2) specific

Re: CVS commit: src/tests/fs/common

2013-03-18 Thread Nicolas Joly
() ... because default limit for threads (160) is too low ! When run as root, the limit value (2500) seems to be high enough. -- Nicolas Joly Biology IT Center Institut Pasteur, Paris.

Re: CVS commit: src/etc/rc.d

2012-12-17 Thread Nicolas Joly
} First, rm(1) is called before fs_safe() check which will always fail. Even with the rm call commented or better moved just before rndctl, the fs_safe call will fail in df(1) if file does not already exists. Chicken or Egg ... -- Nicolas Joly Biology IT Center Institut Pasteur, Paris.

Re: CVS commit: src/lib/libc/arch/alpha/gen

2012-03-21 Thread Nicolas Joly
' may lose accuracy [132] /local/src/NetBSD/src/lib/libc/arch/alpha/gen/fpsetround.c(61): warning: conversion from 'unsigned long' to 'enum unnamed' may lose accuracy [132] -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

Re: CVS commit: src/sbin/ifconfig

2012-03-17 Thread Nicolas Joly
is stderr being involved? atf_check defaults to '-s exit:0 -o empty -e empty'. Adding '-e ignore' should do the trick. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

Re: CVS commit: src/external/bsd/mdocml/dist

2011-12-18 Thread Nicolas Joly
On Sun, Dec 18, 2011 at 04:58:02PM +0100, Joerg Sonnenberger wrote: On Sun, Dec 18, 2011 at 01:40:08PM +, Nicolas Joly wrote: Module Name:src Committed By: njoly Date: Sun Dec 18 13:40:08 UTC 2011 Modified Files: src/external/bsd/mdocml/dist

Re: amd64 direct map causing crashes at boot (Re: CVS commit: src/sys/arch)

2011-12-09 Thread Nicolas Joly
On Fri, Dec 09, 2011 at 02:41:16PM +0100, Manuel Bouyer wrote: On Thu, Dec 08, 2011 at 11:24:35PM +0100, Nicolas Joly wrote: On Thu, Dec 08, 2011 at 11:21:31PM +0100, Joerg Sonnenberger wrote: On Thu, Dec 08, 2011 at 11:10:41PM +0100, Nicolas Joly wrote: I do have two machines that fail

Re: amd64 direct map causing crashes at boot (Re: CVS commit: src/sys/arch)

2011-12-09 Thread Nicolas Joly
size 0xb7d8 2 addr 0x1 size 0x14800 -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

Re: amd64 direct map causing crashes at boot (Re: CVS commit: src/sys/arch)

2011-12-08 Thread Nicolas Joly
. Includes 1 Ïntel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz CPU. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

Re: amd64 direct map causing crashes at boot (Re: CVS commit: src/sys/arch)

2011-12-08 Thread Nicolas Joly
On Thu, Dec 08, 2011 at 11:21:31PM +0100, Joerg Sonnenberger wrote: On Thu, Dec 08, 2011 at 11:10:41PM +0100, Nicolas Joly wrote: I do have two machines that fail to boot with this change. 1) A Dell Optiplex 740 that reboots early after loading the kernel. Includes 1 AMD Athlon(tm) 64

Re: amd64 direct map causing crashes at boot (Re: CVS commit: src/sys/arch)

2011-12-08 Thread Nicolas Joly
On Thu, Dec 08, 2011 at 11:17:54PM +0100, Manuel Bouyer wrote: On Thu, Dec 08, 2011 at 11:10:41PM +0100, Nicolas Joly wrote: That was me. I do have two machines that fail to boot with this change. 1) A Dell Optiplex 740 that reboots early after loading the kernel. Includes 1 AMD

Re: CVS commit: src/sys/arch/alpha/alpha

2011-07-26 Thread Nicolas Joly
On Tue, Jul 26, 2011 at 05:27:38PM +0200, Joerg Sonnenberger wrote: On Tue, Jul 26, 2011 at 02:59:04PM +, Nicolas Joly wrote: Module Name:src Committed By: njoly Date: Tue Jul 26 14:59:03 UTC 2011 Modified Files: src/sys/arch/alpha/alpha

Re: CVS commit: src/sys/arch/alpha/alpha

2011-07-26 Thread Nicolas Joly
On Tue, Jul 26, 2011 at 06:45:31PM +0200, Joerg Sonnenberger wrote: On Tue, Jul 26, 2011 at 06:19:21PM +0200, Nicolas Joly wrote: On Tue, Jul 26, 2011 at 05:27:38PM +0200, Joerg Sonnenberger wrote: On Tue, Jul 26, 2011 at 02:59:04PM +, Nicolas Joly wrote: Module Name:src

Re: CVS commit: src/sys/arch/alpha/alpha

2011-07-26 Thread Nicolas Joly
then, i'll only update the alpha one. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

Re: CVS commit: src/distrib/sets/lists

2011-05-30 Thread Nicolas Joly
64 archs. I think that this is not true for shared libraries; this happens automatically now. Perhaps not for .debug libraries? If that's the case it should be fixed. I tweaked postinstall, quite some time ago, to handle debug libraries too. AFAIK, it works. -- Nicolas Joly Projects

Re: CVS commit: src/distrib/sets/lists

2011-05-30 Thread Nicolas Joly
On Mon, May 30, 2011 at 12:52:57PM +0200, Adam Hamsik wrote: On May,Monday 30 2011, at 11:23 AM, Nicolas Joly wrote: On Mon, May 30, 2011 at 09:17:52AM +, Christos Zoulas wrote: In article 9fd1caa9-1c17-4198-a9cc-57f4de798...@gmail.com, Adam Hamsik haa...@gmail.com wrote

Re: CVS commit: src/distrib/sets/lists

2011-05-30 Thread Nicolas Joly
On Mon, May 30, 2011 at 03:37:13PM +0200, Nicolas Joly wrote: On Mon, May 30, 2011 at 12:52:57PM +0200, Adam Hamsik wrote: On May,Monday 30 2011, at 11:23 AM, Nicolas Joly wrote: On Mon, May 30, 2011 at 09:17:52AM +, Christos Zoulas wrote: In article 9fd1caa9-1c17-4198-a9cc

Re: CVS commit: src/distrib/sets/lists/comp

2011-05-09 Thread Nicolas Joly
' keyword, which means that they will be selected for MKPERFUSE=yes builds only. But MKPERFUSE variable is not defined anywhere ... Do we need to add another optional component here (Makefiles will then need some tweaks), or should the keywords need to be wiped out from lists ? Manu ? -- Nicolas Joly

Re: CVS commit: src/tests/syscall

2011-04-04 Thread Nicolas Joly
. Adding the following to the testcase header should do the trick: atf_tc_set_md_var(tc,require.user,unprivileged); In that case, if run as root, it will lower its privileges to the unprivileged user _atf before running the test. -- Nicolas Joly Projects and Developments

Re: CVS commit: src/tests/syscall

2011-04-04 Thread Nicolas Joly
On Mon, Apr 04, 2011 at 10:18:52AM +0300, Jukka Ruohonen wrote: On Mon, Apr 04, 2011 at 09:05:19AM +0200, Nicolas Joly wrote: Adding the following to the testcase header should do the trick: atf_tc_set_md_var(tc,require.user,unprivileged); In that case, if run as root

Re: CVS commit: src/tests

2011-03-25 Thread Nicolas Joly
. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

Re: CVS commit: src/tests

2011-03-25 Thread Nicolas Joly
On Fri, Mar 25, 2011 at 12:15:08PM +0200, Jukka Ruohonen wrote: On Fri, Mar 25, 2011 at 11:09:26AM +0100, Nicolas Joly wrote: Skipping them is not the right solution IMO. I have no strong opinion about this. But to me it seems that these bugs/tests are really testing an emulator instead

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2010-11-26 Thread Nicolas Joly
they were not coming from my application... XXX: the memcmp below looks suspicious XXX: Likewise for error messages. -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.

Re: CVS commit: src/lib/libc/stdlib

2010-09-30 Thread Nicolas Joly
On Thu, Sep 30, 2010 at 02:11:19PM +0100, Matthias Scheler wrote: On Thu, Sep 30, 2010 at 03:05:26PM +0200, Nicolas Joly wrote: One possibility could be to not free memory at all in setenv, but only with unsetenv. I'm not convinced about that. IMHO, it's a programmer error to call

Re: CVS commit: src/lib/libc/stdlib

2010-09-30 Thread Nicolas Joly
). Otherwise, if i understand things correctly, it's more putenv that shoud work that way. -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.

Re: CVS commit: src/bin/ps

2010-07-28 Thread Nicolas Joly
On Wed, Jul 28, 2010 at 01:14:40PM +0200, Alan Barrett wrote: On Tue, 27 Jul 2010, Nicolas Joly wrote: v = ve-var; - doubleprintorsetwidth(v, getpcpu(k), 1, mode); + dbl = getpcpu(k); + doubleprintorsetwidth(v, dbl, (dbl = 100.0) ? 0 : 1, mode); } I think you need to test

Re: CVS commit: src

2010-07-05 Thread Nicolas Joly
On Mon, Jul 05, 2010 at 02:10:12PM +0100, Julio Merino wrote: On Mon, Jul 5, 2010 at 1:53 PM, Nicolas Joly nj...@netbsd.org wrote: Module Name:    src Committed By:   njoly Date:           Mon Jul  5 12:53:59 UTC 2010 Modified Files:        src/distrib/sets/lists/tests: mi

Re: CVS commit: src/usr.bin/mkdep

2010-05-26 Thread Nicolas Joly
extension remains while according to the man page it should be removed. nj...@lanfeust [~] mkdep -p -f main.dep main.c nj...@lanfeust [~] cat main.dep main.o: main.c nj...@lanfeust [~] mkdep -s '' -f main.dep main.c nj...@lanfeust [~] cat main.dep main.o: main.c -- Nicolas Joly Biological Software

CVS commit: src/sys/conf

2010-03-05 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Mar 5 23:06:49 UTC 2010 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Use 'a b ...' contructs for running multiple commands on a single line in Makefiles, to properly detect/report failures. To generate a

CVS commit: src/sys/conf

2010-03-05 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Mar 5 23:06:49 UTC 2010 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: Use 'a b ...' contructs for running multiple commands on a single line in Makefiles, to properly detect/report failures. To generate a

CVS commit: src/sys/dev/i2c

2010-03-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Mar 1 17:35:21 UTC 2010 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Do initialise i2c_attach_args new members, for indirect configuration too. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/dev/i2c

2010-03-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Mar 1 17:35:21 UTC 2010 Modified Files: src/sys/dev/i2c: i2c.c Log Message: Do initialise i2c_attach_args new members, for indirect configuration too. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/share/mk

2010-02-22 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Feb 22 12:33:22 UTC 2010 Modified Files: src/share/mk: bsd.README bsd.lib.mk Log Message: Change shared object file extension from .so to .pico, to avoid conflicts with shared libaries names libXX.so; as recently seen with

CVS commit: src

2010-02-22 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Feb 22 12:35:32 UTC 2010 Modified Files: src: UPDATING Log Message: Note shared objects extension change, and stalled files. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209 src/UPDATING Please note that

CVS commit: src

2010-02-22 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Feb 22 12:35:32 UTC 2010 Modified Files: src: UPDATING Log Message: Note shared objects extension change, and stalled files. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209 src/UPDATING Please note that

CVS commit: src/external/bsd/flex/dist

2010-02-19 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Feb 19 14:22:43 UTC 2010 Modified Files: src/external/bsd/flex/dist: initparse.c initscan.c Log Message: Regen initparse.c/initscan.c without #line directives, to avoid host tool depency problems when NETBSDSRCDIR != /usr/src.

Re: CVS commit: src/external/cddl/osnet/lib/libnvpair

2010-02-17 Thread Nicolas Joly
to have a bsd.lib.mk patch to review/test soon ... -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.

CVS commit: src/sys/dev/ic

2010-02-09 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Feb 9 23:04:15 UTC 2010 Modified Files: src/sys/dev/ic: nslm7x.c Log Message: Kill extra semi-column. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/ic/nslm7x.c Please note that diffs are not

CVS commit: src/distrib/sets/lists/comp

2010-02-05 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Feb 5 12:46:33 UTC 2010 Modified Files: src/distrib/sets/lists/comp: mi Log Message: +infocmp.debug +tic.debug To generate a diff of this commit: cvs rdiff -u -r1.1383 -r1.1384 src/distrib/sets/lists/comp/mi Please note

CVS commit: src/sys/dev/pci

2010-02-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Feb 1 12:51:16 UTC 2010 Modified Files: src/sys/dev/pci: auich.c Log Message: Do not print ac97 link rate message unless verbose boot is requested. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136

CVS commit: src/sys/kern

2010-02-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Feb 1 12:58:04 UTC 2010 Modified Files: src/sys/kern: kern_ssp.c Log Message: Aprintify. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/kern/kern_ssp.c Please note that diffs are not public domain;

CVS commit: src/sys/kern

2010-02-01 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Feb 1 16:14:58 UTC 2010 Modified Files: src/sys/kern: kern_ssp.c Log Message: Switch SSP init output to aprint_debug() instead of aprint_normal() under DIAGNOSTIC ifdefs. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/share/man/man3

2010-01-24 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Sun Jan 24 22:21:34 UTC 2010 Modified Files: src/share/man/man3: Makefile Log Message: Do not link timeradd.3 to itself. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/share/man/man3/Makefile Please note that

CVS commit: src/sys/miscfs/kernfs

2010-01-22 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Jan 22 22:46:01 UTC 2010 Modified Files: src/sys/miscfs/kernfs: kernfs_vnops.c Log Message: Remove unneeded strlen() call in KFShostname case. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140

CVS commit: src/sys/arch/amd64/amd64

2010-01-18 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Jan 18 21:55:40 UTC 2010 Modified Files: src/sys/arch/amd64/amd64: procfs_machdep.c Log Message: Do not check more than 32 bits against ci_feature_flags, to avoid printing bogus data on /proc/cpuinfo flags line. To generate

CVS commit: src/sys/arch/x86/x86

2010-01-13 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Wed Jan 13 15:31:47 UTC 2010 Modified Files: src/sys/arch/x86/x86: linux_trap.c Log Message: Use __arraycount instead of locally defined macro. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

Re: CVS commit: src/sys/compat/netbsd32

2009-12-10 Thread Nicolas Joly
*s32p); shouldn't it? It should not be a problem as both native and compat netbsd32 ifreq/oifreq structures have the same size. -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.