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.
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
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
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
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.
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
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:
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.
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.
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
3000
1 addr 0x10 size 0xb7d8
2 addr 0x1 size 0x14800
--
Nicolas Joly
Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
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
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
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.
&
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.
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.
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:
&
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
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
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
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
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.
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
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
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 not public domain; they are subject to the
> copyright notices on the relevant files.
--
Nicolas Joly
Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
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.
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.
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
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) ?
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
. 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 [~]&
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
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
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
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
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
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
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
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
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.
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
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
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.
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
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
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
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/
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
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
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
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/
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
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
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
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
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
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
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.
> 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
60 matches
Mail list logo