This rather large diff takes a swing at atoi() in the tree; converting
many of them to strtonum().
strtonum() is not a perfect API. But atoi() is far worse, as is
strtol() -- if endptr is unchecked (quite common). The same extends
to the rest of that family of functions.
Please reserve any crit
> Note: I don't use the auto-layout except on throwaway test installs
> as it never seems to give me the layout I need, and except for laptops
> I would prefer to never use the interactive installer at all.
The real problem here is that many people choose 1 partition.
Which implies trusting that
Hey,
I was debugging a few CPython test failures yesterday, and I noticed
that attaching multiple cmsg structures causes unp_internalize to return
EINVAL.
I've looked in unix(4) and sendmsg(2), and this caveat isn't documented
anywhere.
I looked at other OSes, and Linux supports this, FreeBSD fa
On Thu, Apr 09, 2015 at 04:27:17AM -0600, Theo de Raadt wrote:
> > But it seems people are expected to build a custom bsd.rd if they
> > want something different so I'll bow out of this conversation.
>
> No, the situation is that less than 1% of the user community
> apparently have a secret usage
On Tue, Apr 14, 2015 at 2:59 PM, Mark Kettenis wrote:
>> From: "Todd C. Miller"
>>
>> The situation is a little complicated. POSIX defines the third
>> argument to the sa_sigaction handler as void * and says it may be
>> cast to ucontext_t. On OpenBSD, it is really a pointer to struct
>> sigcon
> From: "Todd C. Miller"
> Date: Tue, 14 Apr 2015 10:52:47 -0600
>
> The situation is a little complicated. POSIX defines the third
> argument to the sa_sigaction handler as void * and says it may be
> cast to ucontext_t. On OpenBSD, it is really a pointer to struct
> sigcontext but this is rea
Martin Pieuchot writes:
> On 14/04/15(Tue) 07:40, attila wrote:
>> [...]
>> Feedback most welcome.
>
> See below.
>
>> /* -*- mode:c; tab-width:8; indent-tabs-mode:t; c-basic-offset:8 -*- */
>
> We do not include editor settings in files, the first line should
> contain:
>
> /*$OpenBSD$ */
>
On Tue, Apr 14 2015 20:40:58 +0200, Mike Belopuhov wrote:
> According to 3.2 in RFC 7323:
>
>Once TSopt has been successfully negotiated, that is both and
> contain TSopt, the TSopt MUST be sent in every non-
>segment for the duration of the connection, and SHOULD be sent in an
>
On Tue, Apr 14, 2015 at 19:40 +0300, Lauri Tirkkonen wrote:
> >Synopsis:tcp keep-alives sent without timestamps
> >Category:kernel
> >Environment:
> System : OpenBSD 5.7
> Details : OpenBSD 5.7-current (GENERIC) #860: Mon Apr 13 20:58:42
> MDT 2015
>
> The situation is a little complicated. POSIX defines the third
> argument to the sa_sigaction handler as void * and says it may be
> cast to ucontext_t. On OpenBSD, it is really a pointer to struct
> sigcontext but this is really an implementation detail.
I had some reservations, but into this
The situation is a little complicated. POSIX defines the third
argument to the sa_sigaction handler as void * and says it may be
cast to ucontext_t. On OpenBSD, it is really a pointer to struct
sigcontext but this is really an implementation detail.
- todd
Index: lib/libc/sys/sigaction.2
=
On 13/04/15(Mon) 22:39, Rafal Brodewicz wrote:
> Hi tech@
>
> Enabling usb3 support in my ThinkPad T440s causes dock station usb ports
> to stop working. I see "uhub0: device problem, disabling port 3" message
> in dmesg.
> dmesg with usb3 on and off included.
Seems that the hub in your dock fail
The SYNOPSIS of sigaction(2) cites the sa_sigaction function as
void (*__sa_sigaction)(int, siginfo_t *, void *);
yet in the examples, the declaration is
void
handler(int sig, siginfo_t *sip, struct sigcontext *scp);
with the role of sigcontext described.
This is a disc
On 14 April 2015 at 17:19, kanonenvogel@gmail.com
wrote:
> Ok, I split my huge patch to some small. f_flag and f_iflags are not affected
> by this patch set,
> because they are under mp lock this time.
>
>
>
>
> And just for lulz, I made sys_pipe, sys_pipe2 syscalls and pipe_read,
> pipe_wri
Comments matter the most.
Jan
--- /usr/include/sys/siginfo.h Tue Aug 13 07:52:26 2013
+++ ./siginfo.h Tue Apr 14 17:07:06 2015
@@ -135,7 +135,7 @@ typedef struct {
int si_errno; /* error from errno.h */
union {
int _pad[SI_PA
Hello,
I've been reading the code in tcp_input.c, and am a bit puzzled by the
code ifdef'ed under TCP_ECN.
There's something which seems odd to me with the places in the code
which update tp->snd_last, and their relation to TCP_ECN and TCP_SACK.
I'll be grateful if someone could take the time and
On 14/04/15(Tue) 07:40, attila wrote:
> [...]
> Feedback most welcome.
See below.
> /* -*- mode:c; tab-width:8; indent-tabs-mode:t; c-basic-offset:8 -*- */
We do not include editor settings in files, the first line should
contain:
/* $OpenBSD$ */
Which will be expanded by CVS.
> /*
> *
Not sure it's worth the effort, but these printfs are sometimes useful.
Anyone's willing to OK?
diff --git sys/netinet/ip_ah.c sys/netinet/ip_ah.c
index f66ea31..d1e270c 100644
--- sys/netinet/ip_ah.c
+++ sys/netinet/ip_ah.c
@@ -531,10 +531,13 @@ ah_input(struct mbuf *m, struct tdb *tdb, int skip,
On Mon, Apr 13, 2015 at 06:10:36PM -0600, Theo de Raadt wrote:
> I don't normally do this.
>
> http://motherboard.vice.com/read/32-bit-integers-and-why-old-computers-matter
>
> This does a really good job educating people on integer overflow :)
>
> In our non-pacman universe, the ports guys real
On Sun, Apr 12, 2015 at 04:43:31PM -0400, dan mclaughlin wrote:
> it seems that /usr/ports/infrastructure/man is not searched by default, and
> there is no example in man.conf for it. given that some pages like dpb(1)
> are there, and referenced thruout a number of pages (eg bsd.port.mk), this
> se
Hi tech@,
I balled the copyright and license up a bit (thanks to deraadt@ and
bcallah@ for pointing this out). I apologize to grange@ and mbalmer@
for not carrying along their copyright notices when I obviously
cribbed liberally from their code in uow.c and umbg.c, respectively.
Updated driver a
21 matches
Mail list logo