christos
56709adfc9
Try to fix previous commit of /.. and /. handling for GLOB_PERIOD. I will
...
write a regression test for this.
2008-02-01 23:29:54 +00:00
apb
9eaab5ee00
Mention use of /var/run/dev.db, and add .Xr dev_mkdb 8 .
...
Could somebody update the HISTORY?
2008-01-30 19:24:59 +00:00
abs
e26de9edf5
Adjust "The getpeereid() function appeared in NetBSD 4.0" to a more
...
correct NetBSD 5.0.
2008-01-29 13:55:27 +00:00
christos
ef1144e6de
Always try both tcp and udp, trying first the one specified by the protocol
...
wanted.
2008-01-28 01:10:22 +00:00
martin
29ef53c683
libc part of posix_fadvise changes.
...
The new compatibility stub is ABI compatible to the old syscall, so no
need to bump libc minor.
2008-01-27 16:18:22 +00:00
rmind
b5e9addd22
sched_setparam: fix the case when incorrect (according to the class)
...
in-kernel priority is used. Reported by <drochner>.
Minor fixes for scheduling calls to conform the POSIX:
- If pid is equal to zero, use the calling process;
- In case of permission problem, return EPERM instead of EACESS;
- sched_setscheduler() should return previously used policy;
- pthread_* calls should return the error code or zero;
Should fix the namespace problems (and builds of some packages):
- Move cpuset_t defintion from pset.h to sched.h;
- Remove the #include of pset.h in pthread.h;
2008-01-26 17:55:29 +00:00
christos
a1e4f75af9
PR/37864: Wolfgang Stukenbrock: when requesting TCP rcp-service port numbers
...
UDP is used
2008-01-25 19:43:53 +00:00
christos
8c03790350
remove redundant check.
2008-01-20 04:56:08 +00:00
ginsbach
0d03389c52
Treat input "0x" as invalid and return INADDR_NONE. Inspired by
...
FreeBSD-PR 92880.
2008-01-19 03:46:52 +00:00
christos
4e783482fa
Fix off-by-one buffer overflow. VU#203611, CVE-2008-0122
2008-01-18 16:20:57 +00:00
christos
00f5cbb6dc
From Richard M Kreuter: GLOB_PERIOD fix for trailing ./ or ../
2008-01-18 16:20:00 +00:00
ad
bbc79e58a6
Pull in my modules code for review/test/hacking.
2008-01-16 12:34:50 +00:00
rmind
5c71a4d49f
Implementation of processor-sets, affinity and POSIX real-time extensions.
...
Add schedctl(8) - a program to control scheduling of processes and threads.
Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;
Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
elad
e7f75b7de6
PR/35562: khorben at defora dot org: Potential denial of service when
...
listing files on an NFS share
Limit the number of retries as suggested in the PR.
Reviewed by and okay fvdl@.
2008-01-10 09:49:04 +00:00
martin
8f4340d1d4
Modify the high part of the fraction so that we recognize our __infinityl
...
value.
XXX - seems like we could share this with LE archs
2008-01-10 00:34:27 +00:00
simonb
d8de5b102b
Remove support for NetBSD/pc532.
2008-01-09 11:25:58 +00:00
christos
5f01dfbd0d
PR/37708: A.Leo.: getservbyname, segetaddrinfo sefgfaults when user has no
...
rights for reading ``/etc/services''
2008-01-06 16:34:18 +00:00
christos
aa33183605
Simplify and check for snprintf() error.
2008-01-03 04:26:27 +00:00
christos
8bb176858f
block signals before playing with files. From Anon Ymous
2008-01-01 21:22:55 +00:00
martin
e094ff6106
Add missing stubs for syscalls returning addresses.
...
We can now run on a kernel that does not copy the syscall return value
to register A0.
As discussed in PR port-m68k/37631.
2007-12-31 07:39:19 +00:00
martin
93310937f3
Avoid munmap(-1, ...) - doesn't make much sense.
2007-12-28 00:39:32 +00:00
skrll
24ced765a1
Add a comment explaining stack layout and register contents.
2007-12-22 14:10:03 +00:00
lukem
433c095cb8
Add references to various protocol pages that support setsockopt(2).
...
Makes it much easier to find them.
2007-12-16 09:49:28 +00:00
yamt
5107db92df
document following system calls.
...
_lwp_ctl
_lwp_getname
_lwp_setname
2007-12-14 21:52:17 +00:00
yamt
b367d7f8b2
fix indentation.
2007-12-14 19:51:37 +00:00
xtraeme
5ee1eac43a
Fix up a comment.
2007-12-14 17:32:47 +00:00
christos
6d28b23da6
- add dehumanize_number
...
- decls for humanize_number and dehumanize_number are in stdlib.h
2007-12-14 17:26:19 +00:00
christos
b31749e77b
add fw decl.
2007-12-14 17:06:07 +00:00
christos
b76677eda5
fix obvious bogon [can't alias symbol to itself]
2007-12-14 17:04:28 +00:00
xtraeme
486b2ff085
The humanize_number(3) proto will be available in stdlib.h, after
...
christos moves it to the correct place.
2007-12-14 16:31:20 +00:00
macallan
f53566168d
make this compile again
2007-12-12 17:56:10 +00:00
he
c26a54ba24
Ensure that we pass -z initfirst to the linker. The mips gcc
...
was unhappy about the missing -Wl specification.
2007-12-08 18:34:51 +00:00
ad
558a5ffd0f
rtld changes for PR bin/37347:
...
- Apply patch from J.T. Conklin to execute .init/.fini functions in order.
- Support DF_1_INITFIRST and mark libc with DF_1_INITFIRST. Shared libs
should be recording a dependency on libc, but it's too late to do that.
Ok christos@.
2007-12-07 20:34:04 +00:00
simonb
179bda4711
Fix twalk()s 3rd argument name so that it matches rest of manpage and
...
the source code.
2007-12-07 07:33:13 +00:00
dyoung
eac83fd0cb
Use __arraycount().
2007-12-06 22:51:57 +00:00
seb
975a58878b
Fix stresep(3) handling of consecutive quoted delimiter characters.
...
Approved by christos@
2007-12-06 22:07:07 +00:00
christos
14c8a52580
From Richard M Kreuter, add GLOB_PERIOD.
2007-12-05 20:25:54 +00:00
christos
b831a8ada2
move decls for _malloc_{pre,post}fork() to extern.h
2007-12-04 17:45:07 +00:00
christos
86ef91b80e
- use a non localized version of strerror_r.
...
- kill localized declarations and let namespace.h do its work.
2007-12-04 17:43:51 +00:00
skrll
fd903b1729
Implement ptrace.
2007-12-02 15:48:47 +00:00
skrll
819071140e
Fix include files and change use LEAF_ENTRY_NOPROFILE function to fix
...
the unwind entry.
2007-12-02 14:04:19 +00:00
rillig
d59ceee59e
ENOENT is also returned when the script interpreter does not exist.
2007-12-02 10:26:27 +00:00
ad
8b96cb8a97
Back out the per-cpu arena changes. With this, ld.so magically stops
...
loading libc/libpthread twice -- which does not make sense, because it
has its own private malloc().
2007-12-01 22:44:44 +00:00
rillig
b54c9d13a0
typo
2007-11-30 23:01:03 +00:00
dsl
b3dec55727
Fix the other half of the 'store int as a thread specific pointer'/
2007-11-30 17:44:38 +00:00
christos
e09a2e99e8
converting a pointer to unsigned is bad; use uintptr_t.
2007-11-30 17:09:22 +00:00
ad
49dcd767c3
Make the allocation arenas per-CPU in the most optimistic case, but
...
continue to 'stripe' by thread in case of contention.
2007-11-29 18:46:13 +00:00
christos
f6cecc05cf
Sync phk malloc.c with the latest one from FreeBSD. This gives us the
...
same api as jemalloc by:
- adding posix_memalign()
- moving calloc in the same file
- renaming malloc_options -> _malloc_options
2007-11-28 21:55:14 +00:00
ad
ae87f94d1d
Bump libc/libpthread minor for thr_curcpu()/pthread_curcpu_np().
2007-11-27 21:06:41 +00:00
ad
4084ca7f3f
Add thr_curcpu(), pthread_curcpu_np().
2007-11-27 20:58:26 +00:00