Okan reminded me that my old regress tests used systrace policy files as
example text, which weren't the easiest to decypher. I've replaced them with
simpler files that should make life easier for any future regress test writers.
Comments? Suggestions?
Ray
Index: Iflag12.out
On Sun, 29 May 2016, Philip Guenther wrote:
> Total turd polishing: __getcwd() isn't ex, so ported in the shared
> version of libc, ...
"__getcwd() isn't exported in the shared version of libc"
Total turd polishing: __getcwd() isn't ex, so ported in the shared version
of libc, so let's exclude it from the static build too.
For historical reasons, the ${HIDDEN} target strips a leading underbar
when figuring out the name of the syscall to generate a hidden stub for,
so add another unde
On some architectures, the internal __minbrk/__curbrk variables are
defined in terms of 'end' instead of '_end'. The normal ld maps support
that, providing plain 'end' only when it is referenced, but we not only
use it but also export it. That's kinda silly as the 'end' symbol in a
shared li
A bug in the previous libcrypto errata caused an error when reading
ASN.1 elements over 16kb.
Patches for OpenBSD are available. Updated LibreSSL-portable releases
will be available later.
http://ftp.openbsd.org/pub/OpenBSD/patches/5.9/common/009_crypto.patch.sig
http://ftp.openbsd.org/pub/OpenB
> The best part here is the comment in yp_prot.h: how many years has it
> been, Theo?
Started writing the code in Feb 1992, and probably that comment in
April.
Since we don't export _yp_dobind() anymore, we should stop declaring it in
the public headers and instead declare it as hidden in the internal
headers, without the extra jockeying of PROTO_NORMAL/DEF_WEAK.
While here, mark the __ypexclude_* as hidden.
The best part here is the comment in yp_pr
On Sun, 29 May 2016, Philip Guenther wrote:
> On Sun, 29 May 2016, Philip Guenther wrote:
> > It took a few beers, but I finally tackled the register-poor i386. This
> > diffs add setjmp cookies and--while we're here--eliminates the use of
> > sigblock/sigsetmask.
> >
> > For bonus points, I sc
frantisek holop, 29 May 2016 16:24:
> btw. making tags for /usr/src fails for me atm:
> ...
> ===> gnu/usr.bin/cc/cc_int
> make: don't know how to make genrtl.c (prerequisite of: tags)
> Stop in gnu/usr.bin/cc/cc_int
> *** Error 2 in gnu/usr.bin/cc (:48 'tags')
> *** Error 1 in gnu/usr.bin (:48 'ta
The readlabel() function in disklabel() does two things: it reads the
disklabel from the device using a ioctl() and then parses it into some
strings. We can't pledge beforehand since we have no way of knowing the
file we process is actually a disk device. However, once the ioctl()
succeeds, we kn
It is time for the lockmgr() api to die. The api is only used by
filesystems, where it is a trivial change to use rrw locks instead. All
it needs is LK_* defines for the RW_* flags. (See the sys/lock.h hunk in
the diff below.)
The ffs regress tests display the same number of fail/ok results before
A few developers are starting to push for some W^X compliance in
the ports tree.
The following diff is in snapshots. In the near future, different
versions of this diff with different semantics may be show up in
other snapshots. The purpose of this change in snapshots is to
help developers estab
Hi,
I have a sun blade 1000 which I use (infrequently) for testing stuff big
endian. Recently it has started locking up with the message:
schizo0: safari error
It seems to be a hard lock which cannot be recovered from. Sometimes the
lock is during boot, sometimes it is after 10 minutes or so.
I
$ cd /usr/src/sys
$ make tags
cd /usr/src/sys/kern; make tags
...
find: /usr/src/sys/arch/armish/../../lib/libkern/arch/armish: No such file or
directory
...
find: /usr/src/sys/arch/armv7/../../lib/libkern/arch/armv7: No such file or
directory
...
find: /usr/src/sys/arch/landisk/../../lib/libkern
Here's an updated diff based on a comment I found in vi's substitute
code.
When a 0-length match is found directly on the position where the
previous non-0-length match ended it should skip that match.
Consider the following:
text: aabb
command: s/a*/X/g
without check: XXbXbX
with check: XbXbX
T
Hello tech@,
Here's a first attempt at fixing the begin of word bug as also found in
sed. It does a little more then I initially sed^ht out to do, but I also
found some other unexpected behaviour.
1) It removes the isbinary test and the accompanying
NUL_TO_NEWLINE/NEWLINE_TO_NUL conversions. If a
On Sun, 29 May 2016, Philip Guenther wrote:
> It took a few beers, but I finally tackled the register-poor i386. This
> diffs add setjmp cookies and--while we're here--eliminates the use of
> sigblock/sigsetmask.
>
> For bonus points, I scrambled the cookie offsets among the three calls
> (_se
Philip Guenther schreef op 2016-05-29 05:01:
This converts setjmp/longjmp and their sig* versions to use the
sigprocmask syscall directly instead of the obsolete
sigblock/sigsetmask
APIs.
No change in the results of the regress/lib/libc/*setjmp* tests.
Ok?
ok kettenis@
Index: setjmp.S
===
On Sat, May 28, 2016 at 07:47:50PM -0700, Philip Guenther wrote:
>
> Overriding the hash algorithm used by the Berkeley DB bits isn't support
> (it would break getpw* if nothing else) and hasn't been possible since the
> symbol hiding effort last fall. So eliminate the redirection through a
>
On Sun, May 29, 2016 at 11:18:18AM +0200, Matthieu Herrb wrote:
> On Wed, May 18, 2016 at 01:08:37PM +1000, Jonathan Gray wrote:
> > On Sun, May 15, 2016 at 11:52:18AM +0200, Matthieu Herrb wrote:
> > > On Sun, May 15, 2016 at 06:45:54PM +1000, Jonathan Gray wrote:
> > > > On Sun, May 15, 2016 at 1
It took a few beers, but I finally tackled the register-poor i386. This
diffs add setjmp cookies and--while we're here--eliminates the use of
sigblock/sigsetmask.
For bonus points, I scrambled the cookie offsets among the three calls
(_setjmp/setjmp/sigsetjmp) so if something tries to mix cal
On Wed, May 18, 2016 at 01:08:37PM +1000, Jonathan Gray wrote:
> On Sun, May 15, 2016 at 11:52:18AM +0200, Matthieu Herrb wrote:
> > On Sun, May 15, 2016 at 06:45:54PM +1000, Jonathan Gray wrote:
> > > On Sun, May 15, 2016 at 10:01:49AM +0200, Matthieu Herrb wrote:
> > > > On Sat, May 14, 2016 at 0
Yesterday's code shuffling in disklabel(8) left behind a bit of a mess.
It also changed behavior of 'disklabel sd1' for non-root users
(previously you could print the disklabel without being root, now you
get EPERM).
There still is the breakage due to insufficient checks on the file
before pledgi
On Sat, May 28, 2016 at 07:55:00PM -0700, Philip Guenther wrote:
>
> About the only place userland code should use PF_* socket constants is
> with sysctl(3)'s CTL_NET hierarchy. All the standardized functions are
> defined as taking AF_* values. Let's use the preferred names in the
> getaddri
24 matches
Mail list logo