Re: CVS commit: src/tests/kernel

2016-11-06 Thread Nicolas Joly
ppened 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/sy

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

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

2013-03-18 Thread Nicolas Joly
On Mon, Mar 18, 2013 at 02:57:27PM -0400, Greg Troxel wrote: > > Nicolas Joly writes: > > > The zfs tests are failing when run as an unprivileged user in > > thread_create() ... because default limit for threads (160) is too > > low ! When run as root, the limit va

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

2013-03-18 Thread Nicolas Joly
ests are failing when run as an unprivileged user in thread_create() ... 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
fs_safe "${random_file}"; then return 1 fi if rndctl -S "${random_file}"; then echo "Saved entropy to disk." fi } First, rm(1) is called before fs_safe() check which will always fail. Even with the rm call comment

Re: CVS commit: src/tests/lib/libexecinfo

2012-06-04 Thread Nicolas Joly
On Sat, Jun 02, 2012 at 06:04:19PM +0300, Jukka Ruohonen wrote: > On Sat, Jun 02, 2012 at 02:52:29PM +0000, Nicolas Joly wrote: > > Module Name:src > > Committed By: njoly > > Date: Sat Jun 2 14:52:28 UTC 2012 > > > > Modified Files:

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

2012-03-21 Thread Nicolas Joly
onvert it to uint64_t. The commit message reference the wrong lint warning. /local/src/NetBSD/src/lib/libc/arch/alpha/gen/fpgetround.c(61): warning: conversion from 'unsigned long' to 'enum ' may lose accuracy [132] /local/src/NetBSD/src/lib/libc/arch/alpha/gen/fpsetround.c(61): warning: conversion from 'unsigned long' to 'enum ' 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
t zero: > > atf_check -s not-exit:0 ifconfig nonexistent0 1.2.3.4/24 > > But why 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 +0000, Nicolas Joly wrote: > > Module Name:src > > Committed By: njoly > > Date: Sun Dec 18 13:40:08 UTC 2011 > > > > Modifie

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

2011-12-09 Thread Nicolas Joly
3000 1 addr 0x10 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-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: > > &g

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 reboo

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. &

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

2011-12-08 Thread Nicolas Joly
ne which has no problem so far. 3) A Sony VAIO VGNBZ12-VN laptop. Includes 1 Ïntel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz" CPU. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

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

2011-07-26 Thread Nicolas Joly
er than dumb atoi()s. Fine. No need then, i'll only update the alpha one. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

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: &

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 +0000, Nicolas Joly wrote: > > Module Name:src > > Committed By: njoly > > Date: Tue Jul 26 14:59:03 UTC 2011 > > > > Modified

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: &g

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

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

2011-05-30 Thread Nicolas Joly
ones. Same should be done for all 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

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

2011-05-09 Thread Nicolas Joly
al component here (Makefiles will then need some tweaks), or should the keywords need to be wiped out from lists ? Manu ? -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

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

Re: CVS commit: src/tests/syscall

2011-04-04 Thread Nicolas Joly
t; I am not sure whether this particular test deserves a more complex solution. 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 th

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 t

Re: CVS commit: src/tests

2011-03-25 Thread Nicolas Joly
re not public domain; they are subject to the > copyright notices on the relevant files. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.

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

2010-11-26 Thread Nicolas Joly
rints. took ages to figure out 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
nding unsetenv in between (just like malloc()/free() behaviour). 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/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. > > &g

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) ?

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 wrote: > > Module Name:    src > > Committed By:   njoly > > Date:           Mon Jul  5 12:53:59 UTC 2010 > > > > Modified Files: > >        src/dist

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

2010-05-26 Thread Nicolas Joly
. But still not quite right, the .o 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 [~]&

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

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

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 src/sys/dev

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 src/sys/dev

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 diffs

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 diffs

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 MKUP

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 MKUP

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.

CVS commit: src/external/ibm-public/postfix/sbin/postconf

2010-02-19 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Feb 19 13:55:47 UTC 2010 Modified Files: src/external/ibm-public/postfix/sbin/postconf: Makefile Log Message: Add nint_table.h and nint_vars.h to generated list files. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1

CVS commit: src/lib/libterminfo

2010-02-19 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Feb 19 13:53:17 UTC 2010 Modified Files: src/lib/libterminfo: Makefile Log Message: Do clean generated terminfo.5 file. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/libterminfo/Makefile Please note th

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

2010-02-17 Thread Nicolas Joly
ess someone beats me, i'll try to have a bsd.lib.mk patch to review/test soon ... -- Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.

CVS commit: src/usr.sbin/envstat

2010-02-12 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Feb 12 14:26:27 UTC 2010 Modified Files: src/usr.sbin/envstat: envstat.c Log Message: Fix double free, when requesting an invalid sensor. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/usr.sbin/envstat/envs

CVS commit: src/share/man/man4

2010-02-12 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Feb 12 10:54:54 UTC 2010 Modified Files: src/share/man/man4: lm.4 Log Message: Start a new paragraph to describe flags values. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/share/man/man4/lm.4 Please note

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 publ

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

2010-02-09 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Feb 9 16:46:07 UTC 2010 Modified Files: src/sys/compat/linux/arch/amd64: linux_exec_machdep.c Log Message: Small typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 \ src/sys/compat/linux/arch/

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 tha

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 -r1.4

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; they

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 src/sys/dev/

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

2010-01-26 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Jan 26 12:45:46 UTC 2010 Modified Files: src/distrib/sets/lists/comp: md.amd64 Log Message: Convert remaining base-obsolete to comp-obsolete. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/distrib/sets/list

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 src/sys/miscfs/ker

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 a

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 src/sys/arch/x86/x86/linu

CVS commit: src/share/man/man4

2010-01-08 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Fri Jan 8 12:52:49 UTC 2010 Modified Files: src/share/man/man4: nfsmb.4 Log Message: Add iic(4) references. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/nfsmb.4 Please note that diffs are not p

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

2009-12-10 Thread Nicolas Joly
d the allocated space doesn't it? ie, it should be: > > memcpy(s32p, p, sizeof *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.

Re: CVS commit: src/sys

2009-07-08 Thread Nicolas Joly
> How is this for a fix? I haven't run-tested this, yet. > > > > > > Wouldn't a pool serve the same purpose with less code? > > > > I don't see why not. See attachment. > > The previous patch didn't work, try this. It fix a panic whe