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

2025-03-04 Thread Matthias Scheler
y to reproduce them was to try to build "pkgsrc/lang/perl5". After rebuilding and installing "libc" and "libpthread" from today's NetBSD-current sources Perl works fine again. Kind regards -- Matthias Scheler https://zhadum.org.uk/

CVS commit: src/etc

2023-07-30 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Jul 30 09:09:38 UTC 2023 Modified Files: src/etc: services Log Message: Resolve the port 2049 conflict by commenting out the entries for "shilp". Now "netstat" will produce sensible output for NFS connections again. To generat

CVS commit: src/etc

2023-07-30 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Jul 30 09:09:38 UTC 2023 Modified Files: src/etc: services Log Message: Resolve the port 2049 conflict by commenting out the entries for "shilp". Now "netstat" will produce sensible output for NFS connections again. To generat

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

2014-05-28 Thread Matthias Scheler
spected that this function is also used on UDP sockets where listen(2) will of course fail. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/external/gpl3/gcc

2014-05-28 Thread Matthias Scheler
On Wed, May 28, 2014 at 02:12:40PM +0100, Matthias Scheler wrote: > On Wed, May 28, 2014 at 09:09:40AM +, Matthew Green wrote: > > Module Name:src > > Committed By: mrg > > Date: Wed May 28 09:09:39 UTC 2014 > > > > Modified Files:

Re: CVS commit: src/external/gpl3/gcc

2014-05-28 Thread Matthias Scheler
r.amd64 -o grodvi dvi.o -Wl,-rpath-link,/export/scratch/tron/obj/destdir.amd64/lib -L=/lib /export/scratch/tron/obj/gnu/usr.bin/groff/src/libs/libdriver/libdriver.a /export/scratch/tron/obj/gnu/usr.bin/groff/src/libs/libgroff/libgroff.a -lm *** Error code 1 Stop. Kind regards -- Matthi

Re: CVS commit: src/gnu/usr.bin/texinfo/makeinfo

2014-03-25 Thread Matthias Scheler
onable code which breaks because of the limit enforcing of fortification. But I couldn't find it yesterday and I really wanted to have "emacs" on my NetBSD-current machine. Kind regards -- Matthias Scheler https://zhadum.org.uk/

Re: CVS commit: src/gnu/usr.bin/texinfo/makeinfo

2014-03-25 Thread Matthias Scheler
On Mon, Mar 24, 2014 at 11:20:04PM +, Christos Zoulas wrote: > In article <20140324230302.1ad1...@cvs.netbsd.org>, > Matthias Scheler wrote: > >Module Name: src > >Committed By:tron > >Date:Mon Mar 24 23:03:02 UTC 2014 > > > &

Re: CVS commit: src/tools

2012-12-17 Thread Matthias Scheler
during a build > with MKDTRACE=yes. That fixes the build for me. Thanks a lot -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src

2012-03-04 Thread Matthias Scheler
On Sun, Mar 04, 2012 at 04:12:25PM +, Matthias Scheler wrote: > Module Name: src > Committed By: tron > Date: Sun Mar 4 16:12:25 UTC 2012 > > Modified Files: > src/distrib/sets/lists/man: mi > src/external/ibm-public/postfix: Makefile.inc >

Re: CVS commit: src/external/mit/expat/dist

2012-02-11 Thread Matthias Scheler
On Sat, Feb 11, 2012 at 10:40:03PM +0200, Alan Barrett wrote: > On Sat, 11 Feb 2012, Matthias Scheler wrote: > >Log Message: > >Initial import of "expat" 2.0.1 into base: > >This is James Clark's expat XML parser library in C. It is a stream > >oriente

Re: CVS commit: src/external/mit/expat/dist

2012-02-11 Thread Matthias Scheler
On Sat, Feb 11, 2012 at 10:13:19PM +0200, Alan Barrett wrote: > On Sat, 11 Feb 2012, Matthias Scheler wrote: > >Log Message: > >Initial import of "expat" 2.0.1 into base: > > Was this approved by releng? Yes, it was. Sorry, I forgot to mention that. Kin

Re: CVS commit: src/sys

2011-11-25 Thread Matthias Scheler
ot;src/sys"? It is not a UFS derivative, is it? Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/share/man/man5

2011-11-07 Thread Matthias Scheler
On Mon, Nov 07, 2011 at 06:51:58AM +0200, Jukka Ruohonen wrote: > On Sun, Nov 06, 2011 at 10:34:48PM +0000, Matthias Scheler wrote: > > Module Name:src > > Committed By: tron > > Date: Sun Nov 6 22:34:48 UTC 2011 > > > > Modified

Re: CVS commit: src/share/man/man4

2011-08-30 Thread Matthias Scheler
way of a major other feature it should be left alone. The best solution would of course to replace it with a driver for the new framework. But that might be a lot of work for hardware which might become obsolete in the near future. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/share/man/man4

2011-08-30 Thread Matthias Scheler
On Tue, Aug 30, 2011 at 03:42:18PM +0200, Martin Husemann wrote: > On Tue, Aug 30, 2011 at 01:31:50PM +0100, Matthias Scheler wrote: > > It is supported by "pkgsrc/multimedia/fxtv" which the last time I had > > an analog TV feed worked well enough to watch TV. > >

Re: CVS commit: src/share/man/man4

2011-08-30 Thread Matthias Scheler
4) infrastructure. > > XXX: This driver should be converted (or even bluntly removed, given the > lack of general third-party software support). It is supported by "pkgsrc/multimedia/fxtv" which the last time I had an analog TV feed worked well enough to watch T

Re: src/sys/modules/spdmem

2011-08-20 Thread Matthias Scheler
martin discovered that this one works: > >const char fmt[] = "..."; Which is the better choice anyway as it saves 4 or 8 bytes of static data. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sys

2011-07-30 Thread Matthias Scheler
rations. Thanks a lot. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sys/modules

2011-07-19 Thread Matthias Scheler
her than only on i386. Yes, that was the intention. Sorry about the mistake. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sbin/newfs_v7fs

2011-07-19 Thread Matthias Scheler
wmany(), we can use it > here too, can't we? Indeed, we can and we should. Thanks a lot -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src

2011-07-07 Thread Matthias Scheler
th and without real locking, with and without "libpthread" present. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src

2011-07-07 Thread Matthias Scheler
that one binary is linked with "libpthread" and the other one isn't. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src

2011-05-29 Thread Matthias Scheler
are single-core. It fails for me on a virtual machine with four (virtual) cores as well. And yes, that VM can really use four cores. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src

2011-05-29 Thread Matthias Scheler
bsd/bugs/build/build/2011.05.29.12.57.14/test.html#syscall_t_pselect_pselect_signal_mask_with_signal Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/tests/syscall

2011-05-29 Thread Matthias Scheler
On Sun, May 29, 2011 at 02:57:14PM +0100, Julio M. Merino Vidal wrote: > On 5/29/11 1:57 PM, Matthias Scheler wrote: > >Modified Files: > > src/tests/syscall: t_pollts.c > > > >Log Message: > >[...] > >Also use ATF_REQUIRE_EQ_MSG() instead of ATF_REQUIRE_

Re: CVS commit: src

2011-05-29 Thread Matthias Scheler
On Sat, May 28, 2011 at 11:42:37PM +0100, Julio M. Merino Vidal wrote: > On 5/28/11 10:46 PM, Christos Zoulas wrote: > >In article<20110528161256.ab89817...@cvs.netbsd.org>, > >Matthias Scheler wrote: > >>+ assert(pipe(fds) == 0); > >[...] >

Re: CVS commit: src/tests/syscall

2011-05-28 Thread Matthias Scheler
ests don't pass on my setup: t_pselect (17/21): 2 test cases pselect_signal_mask_with_signal: Failed: pselect() did not receive signal pselect_signal_mask_with_timeout: Failed: pselect() did not receive signal Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
On Sun, Apr 17, 2011 at 07:04:05PM +0100, Matthias Scheler wrote: > You have now broken the "tools" build again: > > ===> build.sh command:./build.sh -O /export/scratch/tron/obj -u -U -x > tools [...] Some testing revealed that this only happens if you "MKDTRA

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
eal}" && /src/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libelf dependall *** Error code 1 Stop. nbmake: stopped in /src/NetBSD-current/src/tools ERROR: Failed to make dependall in "tools" *** BUILD ABORTED *** Can you please fix that? Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/share/mk

2011-04-17 Thread Matthias Scheler
is problem. what failed for you? "./build -O /path/to/obj -u -U -j 8 -x distribution sets" under NetBSD/i386 5.99.49 > are you sure it was a completely clean build? Yes, tool and object directory were empty. > we should fix nbhost-mkdep if it is broken, and revert

Re: CVS commit: src/sys/fs/msdosfs

2011-03-03 Thread Matthias Scheler
. 2.) Run them with "MALLOC_OPTIONS" set to "AJ". Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sys/fs/msdosfs

2011-03-03 Thread Matthias Scheler
n anyone else's env) Is he perhaps using "USE_SSP=yes"? Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/external/ibm-public/postfix

2011-02-13 Thread Matthias Scheler
\"dovecot\" +.endif + .if defined(HAVE_PCC) # code uses gcc-specific aggregate dynamic array CPPFLAGS+= -DCANT_USE_SEND_RECV_MSG > And yes there is less reason to use cyrus right now, which is what > the libsaslc project is all about. I agree. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/external/ibm-public/postfix

2011-02-13 Thread Matthias Scheler
to USE_LIB_SASL that can be set to saslc or cyrus Do we really want to support "USE_LIB_SASL=cyrus"? Linking stuff in base again libraries from "pkgsrc" sounds like a big hack to me and will e.g. break cross compiling. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sys/arch/i386/conf

2011-02-10 Thread Matthias Scheler
rely > on modules that could be absent or non accessible at boot time. I don't think it needs typical file-systems. IMHO the kernel should contain the file-systems required for booting. This will solve most of the update issues. Kind regards -- Matthias Scheler

Re: CVS commit: src

2011-01-13 Thread Matthias Scheler
"/bin" and "/usr/bin". Please consider using "SYMLINKS" for the compatibility links. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/lib/libm

2011-01-09 Thread Matthias Scheler
axf.c n_fmin.c n_fminf.c > > Log Message: > Imlementations of fmax, fmaxf, fmin and fminf libm functions for VAX. Thank you. Kind regards -- Matthias Scheler http://zhadum.org.uk/

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

2011-01-09 Thread Matthias Scheler
On Sun, Jan 09, 2011 at 02:47:27AM +, David Holland wrote: > On Sat, Jan 08, 2011 at 11:49:54PM +0000, Matthias Scheler wrote: > > > This is no longer true, for lvm and other things, so let's take a deep > > > breath and move chown. > > > > Yes, bu

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

2011-01-08 Thread Matthias Scheler
ns. > I don't like the idea of having rc.d scripts depend on /rescue. Me neither. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/usr.sbin/iostat

2011-01-08 Thread Matthias Scheler
e with existing MAX() macro. Why not? It doesn't sound hard to do that based on the manual page. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/bin/dd

2010-11-23 Thread Matthias Scheler
ultiple gigabytes of storage space. "/usr" over NFS is useful for a system with a shortage of local disk space. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/bin/dd

2010-11-23 Thread Matthias Scheler
cause it now depends on "/usr/lib/librumpclient.so.0". Utilities in "/bin" and "/sbin" are supposed to work without "/usr" mounted. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/bin/cp

2010-10-25 Thread Matthias Scheler
On Tue, Oct 26, 2010 at 05:05:28AM +1100, matthew green wrote: > > > On Mon, Oct 25, 2010 at 08:52:43AM +0100, Matthias Scheler wrote: > > > On Sun, Oct 24, 2010 at 10:56:40PM +, David Holland wrote: > > > > Anyway, ISTM that writing from the mmap buffer in say 6

Re: CVS commit: src/bin/cp

2010-10-25 Thread Matthias Scheler
On Mon, Oct 25, 2010 at 08:52:43AM +0100, Matthias Scheler wrote: > On Sun, Oct 24, 2010 at 10:56:40PM +, David Holland wrote: > > Anyway, ISTM that writing from the mmap buffer in say 64K chunks would > > retain nearly all the advantages and get rid of the latency problem. &

Re: CVS commit: src/bin/cp

2010-10-25 Thread Matthias Scheler
impact performance on some ports. Kind regards -- Matthias Scheler http://zhadum.org.uk/

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

2010-10-24 Thread Matthias Scheler
On Mon, Oct 25, 2010 at 12:24:14AM +0700, Robert Elz wrote: > Date:Sun, 24 Oct 2010 16:00:46 +0100 > From: Matthias Scheler > Message-ID: <20101024150046.ga...@colwyn.zhadum.org.uk> > > | It doesn't have to be a macro anyway as it used on

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

2010-10-24 Thread Matthias Scheler
On Sun, Oct 24, 2010 at 09:55:21AM +0700, Robert Elz wrote: > Date:Sat, 23 Oct 2010 16:33:37 +0100 > From: Matthias Scheler > Message-ID: <20101023153336.ga...@colwyn.zhadum.org.uk> > > | I'm sorry but this whole code is horrible. &

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

2010-10-23 Thread Matthias Scheler
It works fine under NetBSD/i386 and builts fine for NetBSD/amd64. And I would hope that the compiler is clever anough to optimize the code away on 64bit platforms. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: putenv/setenv changes

2010-10-03 Thread Matthias Scheler
nv/getenv functions will write to it. Which is the case for our "libc" after my change. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: putenv/setenv changes

2010-10-03 Thread Matthias Scheler
er an upgrade to NetBSD 6.0. > ... because while it fixes the common case, it might break programs > that use both putenv and setenv (hopefully none). It shouldn't. I've tried to take care of that with the second half of the change. setenv(3) will not try to write to an

Re: putenv/setenv changes

2010-10-03 Thread Matthias Scheler
tore that behaviour. I'm not sure whether it is good idea to document that we tolerate it. Kind regards -- Matthias Scheler http://zhadum.org.uk/

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

2010-09-30 Thread Matthias Scheler
, has already done the same ... So it assumes that it gets back from getenv(3) exactly what it passed into putenv(3). Well, it seesm our putenv(3) needs a rewrite. I think that setenv(3) and unsetenv(3) are correct as they are. Kind regards -- Matthias Scheler http://zhadum.org.uk/

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

2010-09-30 Thread Matthias Scheler
ithout a corresponding unsetenv in between (just like > malloc()/free() behaviour). Is there any standard which backs this statement? > Otherwise, if i understand things > correctly, it's more putenv that shoud work that way. Our putenv(3) is implemented via setenv(3).

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

2010-09-12 Thread Matthias Scheler
On 11 Sep 2010, at 23:44, Christos Zoulas wrote: > In article <5217ce1f-57c2-40bc-9281-50f90bba0...@zhadum.org.uk>, > Matthias Scheler wrote: >> >> On 6 Sep 2010, at 23:35, Christos Zoulas wrote: >>> Should we make perror() produce a warning so people will s

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

2010-09-11 Thread Matthias Scheler
On 6 Sep 2010, at 23:35, Christos Zoulas wrote: > Should we make perror() produce a warning so people will stop using it? No, as it is not a NetBSD specific API. Kind regards -- Matthias Scheler http://zhadum.org.uk/

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

2010-09-01 Thread Matthias Scheler
means that you have to be prepared to deal with the occassional failure > of this nature when doing update builds anyways. I'm aware of this case. But in this case there is a good reason. And I'm less concerned about the destdir anyway. I'm concerned about obsolete manual pages remaining on a system. Kind regards -- Matthias Scheler http://zhadum.org.uk/

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

2010-09-01 Thread Matthias Scheler
ed way how to handle renaming files. If people use it The Right Thing(TM) happens. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/lib/libperfuse

2010-08-25 Thread Matthias Scheler
be linked with -lperfuse. Can you please explain what is the difference between "libperfuse" and "librefuse" is? Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sys/dev/dm

2010-05-18 Thread Matthias Scheler
able and for every > entry it calls particular sync routine which propagates DIOCCACHESYNC > to real disk. What happens if a logical volume consists of two slice of one physical device? Will the physical device get flushed twice? Kind regards -- Matthias Scheler

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

2010-05-06 Thread Matthias Scheler
fail and return -1. > Note that in such cases the NetBSD implementation does not set errno to > EBADF, hence diverging from the standard in this small detail. Is there any reason not to make in compliant? It seems like a reasonable change. Kind regards -- Matthias Schel

Re: CVS commit: src/libexec/ld.elf_so

2010-03-19 Thread Matthias Scheler
You only need to disable the warnings which would tell you that the *particular* function which uses alloca(3) cannot be protected. Please look at the end of "src/sys/conf/Makefile.inc" how to handle this and update your change accordingly. Kind re

Re: CVS commit: src/external/cddl/osnet/dev/dtrace/i386

2010-03-18 Thread Matthias Scheler
gt; > 2.) Include "x86/include/cpu_counter.h" for amd64 and i386 to get the > > prototype of "cpu_frequency". > > Probably this should be rewritten to use MI timecounter(9)? Well, it seems to be an architecture specific file anyway. But I don't know the de

Re: CVS commit: src/distrib/sets

2010-03-03 Thread Matthias Scheler
Could you move this to bsd.own.mk, where all the dirty work is done now? I specifically decided not to do that because this flag is not necessary outside of set lists. make(1) can combine two conditions with or just fine. Kind regards -- Matthias Scheler http://zhadum.org.uk/

CVS commit: src/distrib/sets

2010-03-03 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Mar 3 16:13:42 UTC 2010 Modified Files: src/distrib/sets: mkvars.mk sets.subr src/distrib/sets/lists/modules: mi Log Message: "dtrace,zfs" means "MKDTRACE=yes" *and* "MKZFS=yes" which is not what we want. Invent a flag

CVS commit: src/distrib/sets

2010-03-03 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Mar 3 16:13:42 UTC 2010 Modified Files: src/distrib/sets: mkvars.mk sets.subr src/distrib/sets/lists/modules: mi Log Message: "dtrace,zfs" means "MKDTRACE=yes" *and* "MKZFS=yes" which is not what we want. Invent a flag

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

2010-03-03 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Mar 3 14:43:41 UTC 2010 Modified Files: src/distrib/sets/lists/modules: mi Log Message: The directory "modules/solaris" depends on ZFS as well. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/distrib/sets/lis

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

2010-03-03 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Mar 3 14:43:41 UTC 2010 Modified Files: src/distrib/sets/lists/modules: mi Log Message: The directory "modules/solaris" depends on ZFS as well. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/distrib/sets/lis

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

2010-03-03 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Mar 3 14:32:29 UTC 2010 Modified Files: src/distrib/sets/lists/modules: mi Log Message: The "solaris" kernel module also gets build if ZFS is enabled. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/distrib/se

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

2010-03-03 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Mar 3 14:32:29 UTC 2010 Modified Files: src/distrib/sets/lists/modules: mi Log Message: The "solaris" kernel module also gets build if ZFS is enabled. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/distrib/se

CVS commit: src/external/cddl/osnet/lib/libdtrace

2010-02-24 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Feb 24 15:40:54 UTC 2010 Modified Files: src/external/cddl/osnet/lib/libdtrace: Makefile Log Message: Disable stack protection warnings for more sources which use dynamically sized stack buffers. To generate a diff of this com

CVS commit: src/external/cddl/osnet/lib/libdtrace

2010-02-24 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Feb 24 12:51:06 UTC 2010 Modified Files: src/external/cddl/osnet/lib/libdtrace: Makefile Log Message: Disable stack protection warnings for sources which use dynamically sized stack buffers. To generate a diff of this commit:

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

2010-02-24 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Feb 24 12:18:37 UTC 2010 Modified Files: src/external/cddl/osnet/lib: Makefile Log Message: Include "bsd.own.mk" before checking "MKDTRACE" to allow setting it in "/etc/mk.conf". To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/cddl/osnet/usr.sbin/zdb

2010-02-24 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Feb 24 11:56:35 UTC 2010 Modified Files: src/external/cddl/osnet/usr.sbin/zdb: Makefile Log Message: Disable stack protection warnings for "zdb_il.c" which uses a dynamically sized array on the stack. To generate a diff of thi

CVS commit: src/sys/sys

2010-02-24 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Feb 24 10:18:19 UTC 2010 Modified Files: src/sys/sys: dtrace_bsd.h Log Message: Fix build of the "dtrace" kernel module. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/sys/dtrace_bsd.h Please note that di

CVS commit: src/external/cddl/osnet/usr.sbin/dtrace

2010-02-22 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Mon Feb 22 12:21:27 UTC 2010 Modified Files: src/external/cddl/osnet/usr.sbin/dtrace: Makefile Log Message: Disable stack protection warnings for "dtrace.c" which uses alloca(3). To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/external/cddl/osnet/usr.sbin/dtrace

2010-02-22 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Mon Feb 22 12:21:27 UTC 2010 Modified Files: src/external/cddl/osnet/usr.sbin/dtrace: Makefile Log Message: Disable stack protection warnings for "dtrace.c" which uses alloca(3). To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/usr.bin/wc

2010-02-19 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Fri Feb 19 11:15:23 UTC 2010 Modified Files: src/usr.bin/wc: wc.c Log Message: Report the number of characters, not the number of bytes in the longest line. Problem pointed out by YAMAMOTO Takashi on "tech-userlevel" mailing list.

CVS commit: src/usr.bin/wc

2010-02-18 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Thu Feb 18 10:43:50 UTC 2010 Modified Files: src/usr.bin/wc: wc.1 wc.c Log Message: Add support for "-L" option (longest line) as present in the GNU and FreeBSD version of "wc". No objections on "tech-userlevel" mailing list. To

CVS commit: src/external/mit/xorg/bin/xterm

2010-02-04 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Thu Feb 4 13:22:34 UTC 2010 Modified Files: src/external/mit/xorg/bin/xterm: Makefile Log Message: Define "HAVE_TERMCAP_H" to fix build with the new terminfo library. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 sr

CVS commit: src/sys/ddb

2010-02-02 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Tue Feb 2 09:04:14 UTC 2010 Modified Files: src/sys/ddb: db_user.h db_write_cmd.c Log Message: Include "ctype.h" in the central place which deals with building the kernel debugger as a userland program. To generate a diff of this

CVS commit: src/sys/ddb

2010-02-01 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Mon Feb 1 09:56:58 UTC 2010 Modified Files: src/sys/ddb: db_write_cmd.c Log Message: Include "ctype.h" if we are not building a kernel to fix the build of crash(8). To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 sr

CVS commit: xsrc/xfree/xc/config/pswrap

2010-01-27 Thread Matthias Scheler
Module Name:xsrc Committed By: tron Date: Wed Jan 27 13:46:39 UTC 2010 Modified Files: xsrc/xfree/xc/config/pswrap: lexer.l Log Message: Remove EMX compatibility hack which breaks NetBSD/alpha cross-builds, at least under Mac OS X. To generate a diff of this commit: cvs

CVS commit: xsrc/xfree/xc/extras/expat/lib

2010-01-27 Thread Matthias Scheler
Module Name:xsrc Committed By: tron Date: Wed Jan 27 13:47:28 UTC 2010 Modified Files: xsrc/xfree/xc/extras/expat/lib: xmlparse.c Log Message: Add patch from upstream CVS to fix CVE-2009-3560 (possible DOS due to crash on bad input). To generate a diff of this commit: cv

CVS commit: xsrc/external/mit/expat/dist/lib

2010-01-27 Thread Matthias Scheler
Module Name:xsrc Committed By: tron Date: Wed Jan 27 13:17:47 UTC 2010 Modified Files: xsrc/external/mit/expat/dist/lib: xmlparse.c Log Message: Add patch from upstream CVS to fix CVE-2009-3560 (possible DOS due to crash on bad input). To generate a diff of this commit:

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2010-01-11 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Mon Jan 11 12:10:19 UTC 2010 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_replay.c zfs_znode.c Log Message: Replace VATTR_NULL() with vattr_null(). The ZFS module can be loaded again now. To gene

Re: CVS commit: src/share/mk

2009-12-11 Thread Matthias Scheler
;GENERIC", etc.? It should probably be added to all kernel configuration which use "pseudo-device raid". Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/distrib/sets

2009-12-08 Thread Matthias Scheler
On Tue, Dec 08, 2009 at 09:12:26AM +0900, Masao Uebayashi wrote: > I wonder why we don't have ${TOOL_SH}. Because making our shell portable will probably be much harder than occasionally fixing some shell scripts. Kind regards -- Matthias Scheler

Re: CVS commit: src/share/mk

2009-12-03 Thread Matthias Scheler
each% nbmake-shark -V MKZFS MKZFS=yes > yes Yes, indeed. But this will only work if "sets.subr" actually checks for this variable, won't it? Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/share/mk

2009-12-03 Thread Matthias Scheler
On Fri, Dec 04, 2009 at 12:57:55AM +0900, Masao Uebayashi wrote: > > I'm sorry but I don't think this is a good solution. > > What is your better solution? I can see why "_MKVARS" would be nice. But why do we need "_MKVARS.yes" and "_MKVARS.n

Re: CVS commit: src/usr.sbin/rpc.lockd

2009-11-27 Thread Matthias Scheler
On Fri, Nov 27, 2009 at 03:39:51PM +0100, Manuel Bouyer wrote: > On Fri, Nov 27, 2009 at 10:30:32AM +0000, Matthias Scheler wrote: > > If I understood the Isilon presentation during EuroBSDCon 2009 correctly > > FreeBSD 8.0 has an in-kernel lockd. Porting their code might be &

Re: CVS commit: src/usr.sbin/rpc.lockd

2009-11-27 Thread Matthias Scheler
s an in-kernel lockd. Porting their code might be an option to achieve that. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: Subject: CVS commit: src/share/mk

2009-11-12 Thread Matthias Scheler
On Thu, Nov 12, 2009 at 07:19:55AM +, Mindaugas Rasiukevicius wrote: > * 5% performance hit on build.sh is not really a small number to me. I've disabled SSP again, the performance hit is gone. We can therefore stop this fruitless discussion. Kind regards -- Matthias

Re: Subject: CVS commit: src/share/mk

2009-11-12 Thread Matthias Scheler
anyway.. Yes, but the question is whether the attack can panic the kernel (bad) or gain root access to your system (very, very bad). Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: Subject: CVS commit: src/share/mk

2009-11-11 Thread Matthias Scheler
TIC option? Because it is also a security feature. I can e.g. turn a remote root exploit into a DoS which will at least keep your data safe. Kind regards -- Matthias Scheler http://zhadum.org.uk/

Re: CVS commit: src/sys/dev

2009-11-10 Thread Matthias Scheler
by enforcing and allocating always the > maximum. The change isn't completely correct. The code will later use "sizeof(sink)" and "sizeof(blkno_buf)" which is no the maximum and not the actual buffer size. You probably need to replace all those occurrences of "

Re: CVS commit: src/sys/dev

2009-11-10 Thread Matthias Scheler
The maximum value at the moment is 128 bytes which will result in a total of 384 bytes of buffers allocated on the stack. There is therefore no risk of stack overflows. 2.) I have backed out my changes to fix the LOCKDEBUG kernel panics. Thanks a lot for pointing out the problem.

Re: CVS commit: src/sys/dev

2009-11-10 Thread Matthias Scheler
On Tue, Nov 10, 2009 at 03:29:29PM +0100, Adam Hamsik wrote: > On Tue, Nov 10, 2009 at 2:35 PM, Matthias Scheler wrote: > > On Tue, Nov 10, 2009 at 08:48:42AM +, Matthias Scheler wrote: > >> > A LOCKDEBUG kernel will panic.  How can we avoid the stack > >> >

Re: CVS commit: src/sys/dev

2009-11-10 Thread Matthias Scheler
On Tue, Nov 10, 2009 at 08:48:42AM +, Matthias Scheler wrote: > > A LOCKDEBUG kernel will panic. How can we avoid the stack > > overflows and such in a different way? > > I'll try to rewrite the code to use M_NOWAIT. The attached diff changes the code to use M_NOWA

Re: CVS commit: src/sys/dev

2009-11-10 Thread Matthias Scheler
in a different way? I'll try to rewrite the code to use M_NOWAIT. Kind regards -- Matthias Scheler http://zhadum.org.uk/

  1   2   >