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
christos
9d58de27f0
Install a new include file.
2008-01-27 01:27:05 +00:00
christos
4466f6b5f6
Fix compilation
2008-01-27 01:23:20 +00:00
pooka
e9ff674b00
For operations with a target (remove, rmdir, link), print the
...
target cookie.
2008-01-27 00:29:24 +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
rafal
2e86943de9
Make this compile after Andrew's fix (remove now-unused variables)
2008-01-25 02:12:10 +00:00
ad
bba572530b
pthread_mutex_lock_slow: remove "deliberate deadlock" code that's not
...
needed with 1:1. PR lib/37524.
2008-01-25 01:09:18 +00:00
christos
8c03790350
remove redundant check.
2008-01-20 04:56:08 +00:00
weinem
0b27d36fa7
Fixes the wrong reference to s_time(1), which should be openssl(1). Closes PR misc/29998. Fix proposed by Igor Sobrado
2008-01-20 03:19:49 +00:00
christos
19884cbfe6
s/set/test/
2008-01-19 16:05:34 +00:00
christos
f2df27b721
only include <sys/pset.h> if _NETBSD_SOURCE
2008-01-19 16:03:48 +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
martin
3049bc6660
Use the new information about per-cpu mappings. Gdb now can examine
...
the interrupt stack.
2008-01-18 16:26:09 +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
pooka
c142350bc6
Fix fakecc case.
...
Noticed by Pavel Jirout on current-users
2008-01-17 17:43:14 +00:00
pooka
9f5abca72f
Comment out the puffs_executor hacks for now, they have races.
...
The issue should be solved in another fashion anyway.
2008-01-16 23:17:43 +00:00
pooka
614c59fcb2
Cache a number of execution contexts instead of re-initializing
...
them every time. Speeds up pure in-memory file systems such as
sysctlfs or dtfs quite a bit. For actual I/O-workhorses the result
is of course less tasty.
2008-01-16 21:29:59 +00:00
ad
bbc79e58a6
Pull in my modules code for review/test/hacking.
2008-01-16 12:34:50 +00:00
pooka
3a433fe13b
Use PROT_NONE page to protect bottom of stack from overrun
2008-01-16 00:29:42 +00:00
ad
eba222df68
... and make kvm_dump_inval() work on the raw device.
2008-01-15 14:16:30 +00:00
ad
a7a2d171df
Handle reading from raw disk devices.
2008-01-15 13:57:41 +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
pooka
86499e8154
Remove puffs_ops from fuse_operations, no reason for it to be there.
2008-01-14 20:46:11 +00:00
pooka
aa3b40df48
return -ret from statfs
2008-01-14 16:07:00 +00:00
pooka
d7412d56b1
Introduce PUFFS_STACKSIZE_MIN to avoid overloading 0 and getting
...
a warning from the library when really wanting to say "just the
minimum, please".
2008-01-14 13:57:26 +00:00
simonb
ccab3b34ce
Remove support for NetBSD/pc532.
2008-01-10 13:40:36 +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
c6409540ef
add missing static decls.
2008-01-08 20:56:08 +00:00
christos
6c924f05f9
cast -1 to unsigned int.
2008-01-08 20:55:58 +00:00
christos
72f5cf0283
no semis after weak alias.
2008-01-08 20:55:25 +00:00
pooka
1309a27c5e
liberate gas-huffin crack-puffin' assert
2008-01-08 00:22:31 +00:00
yamt
48a1e4cf46
pthread_curcpu_np: map LWPCTL_CPU_NONE to 0 so that this works in the case
...
of _lwp_ctl failure.
2008-01-07 11:51:43 +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
9780e68402
warns=4
2008-01-05 20:00:49 +00:00
jld
1717a7fe75
Add address translation support for 4MB pages, which we use to map the
...
kernel text.
2008-01-05 06:54:12 +00:00
jld
324e44d74f
The address translation routine needs to use the plN_pi macros (for
...
indexing into the PTP), not the plN_i ones (for indexing into the entire
linear page table); cf. the analogous code for amd64. Fixes ~everything
to do with kernel core dumps on i386.
2008-01-05 06:22:55 +00:00
ad
b43749fde1
machine/lock.h, not sys/lock.h
2008-01-05 01:37:35 +00:00
christos
aa33183605
Simplify and check for snprintf() error.
2008-01-03 04:26:27 +00:00
pooka
cf16702d95
fix pasto
2008-01-02 18:11:01 +00:00
pooka
b181a1a237
Also pass fromname in the "distributed" case.
2008-01-02 17:57:51 +00:00
pooka
636e495315
Provide some transparent "support" for "distributed" file systems.
...
If the env variable PUFFS_COMFD is set, the descriptor value
contained in it is used for communication instead of opening
/dev/puffs and doing mount(2).
This feature is obviously very undocumented and should not be used
without adult supervision.
2008-01-02 14:27:42 +00:00
christos
8bb176858f
block signals before playing with files. From Anon Ymous
2008-01-01 21:22:55 +00:00
chris
cf792ccc84
Update libkvm to be able to deal with arm kernel core dumps.
...
These changes allow savecore to successfully save a kernel core dump.
Final part of fixing PR cats/18026
2008-01-01 14:10:37 +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
pooka
38a05cc07d
Flesh this out a bit more. Unfortunately it's still unfinished,
...
and I don't know when I'll get a chance to finish it.
2007-12-27 18:50:42 +00:00