| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Grammar fixes.
* Mark up rfork and vnode as cross-references.
* Clarify the use of the RFFDG flag to rfork(2).
|
|
|
|
|
|
|
| |
KERN_UPDATEINTERVAL can't be used to control sched_sync(). In
fact, there's no easy way to control the syncer with sysctls.
Reported by: bde
|
|
|
|
| |
potential cancellation point in libc_r.
|
|
|
|
| |
Obtained from: KAME Project
|
|
|
|
| |
Pointed out by: sheldonh
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
strdup()) rather than pointing it at something that's free()d
(via freeaddrinfo(res)) before the function returns.
I appreciate that this is an API change, but it's the only way
(AFAIK) of doing this without breaking existing code that uses
rcmd{,_af}().
Pointed out by: phkmalloc
|
|
|
|
| |
syncer(4) manual page.
|
|
|
|
|
|
|
|
| |
be treated as NULL.
PR: bin/19816
Submitted by: Bill Fenner <fenner@research.att.com>
Reviewed by: Atsushi Onoe <onoe@sm.sony.co.jp>
|
| |
|
|
|
|
| |
Discussed on: -arch
|
|
|
|
|
|
| |
and people shouldn't be encouraged to use them.
Asked by: sheldonh
|
|
|
|
| |
(jasone@canonware.com --> jasone@freebsd.org).
|
|
|
|
| |
Prompted by: sheldonh
|
|
|
|
| |
Submitted by: dcs
|
|
|
|
|
|
| |
PR: 19262
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Reviewed by: sheldonh
|
| |
|
|
|
|
|
| |
PR: 19602
Submitted by: Tony Finch <dot@dotat.at>
|
|
|
|
|
|
|
|
|
|
|
| |
management involving rcmd_af(), getaddrinfo(), freeaddrinfo(), etc.
We set *ahost to point to ai->canonname; and later free the ai-> stuff
and still leave the old pointers in *ahost to the freed data.
Perhaps the best way to deal with this is a static buffer or a static
strdup() that is freed on the next iteration or something. This gives
me headaches just thinking about this.
The new 'AJ' default for malloc() tripped this up.
|
| |
|
|
|
|
| |
regex(3).
|
|
|
|
| |
Obtained from: BSD/OS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the processing of the recursion, "scan" would be pointing to O_CH
(or O_QUEST), which would then be interpreted as being the end character
for altoffset().
We avoid this by properly increasing scan before leaving the switch.
Without this, something like (a?b?)?cc would result in a g->moffset of
1 instead of 2.
I added a case to the soon-to-be-imported regex(3) test code to catch
this error.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string may be found (from the beginning of the pattern), the point
at which must is found minus that offset may actually point to some
place before the start of the text.
In that case, make start = start.
Alternatively, this could be tested for in the preceding if, but it
did not occur to me. :-)
Caught by: regex(3) test code
|
| |
|
|
|
|
|
|
|
|
| |
These will be turned off again as we approach 5.0-RELEASE.
If you benchmark things, make sure to
ln -sf j /etc/malloc.conf
to see "true" performance.
|
|
|
|
|
| |
portname. explicitly reject empty numeric portname.
sync with kame. based on comments from itohy@netbsd.org
|
|
|
|
|
|
| |
PR: 19263
Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Obtained from: Open|NetBSD
|
|
|
|
|
|
| |
correct the offset when we free it.
Caught by: phkmalloc
|
|
|
|
| |
"deprecated" and warn that it will disappear eventually.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
use a CHAR_MIN-based array, like elsewhere in the code.
Remove a number of unused variables (some due to the above change, one
that was left after a number of optimizing steps through the source).
Brucified by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove (comment out) functions defined or depricated elsewhere:
bsearch, lfind, lsearch, insque, remque
change hcreate to take a size_t rather than uint (essentially the same)
since hcreate/hdestroy are now in <search.h>, remove private search.h
in lib/libc/db/hash/
add $FreeBSD tags to hsearch.c
|
|
|
|
| |
chars as array indices.
|
|
|
|
| |
Prevent out of bounds array access in some specific cases.
|
| |
|
|
|
|
|
| |
- correct scoped notation separator (s/@/%/)
- include example and more references
|
|
|
|
|
|
|
|
| |
- permit numeric scopeid, be more careful about buffer size
TODO: 2nd arg type should be socklen_t for RFC2553 conformance,
but due to include file dependency it is not a easy thing to do
(netdb.h does not have socklen_t)
|
|
|
|
|
| |
- better return code. from enami@netbsd
- do not use "class" as variable name. C++ guy had trouble with it.
|
|
|
|
|
|
| |
capability-related syscall wrappers.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
| |
soon to be committed syscall stubs. These calls will be used to get
and set capability state associated with executables.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
| |
error was introduced during the merge; fixing it corrects a (correct)
warning about types.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
committed
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
interface addresses in a portable manner, without headache of SIOCGIFCONF
or sysctl. it is in bsdi/openbsd/netbsd already.
from kame tree (actually, mandatory for latest kame tree).
|
|
|
|
| |
Remove unneded comment
|
| |
|
| |
|
|
|
|
| |
text introduced in the previous commit.
|