jruoho
2b2b951b5e
Improve further so that this might actually fail.
2011-05-01 09:44:26 +00:00
jruoho
f74cfbd2d7
Actually, as this is nanosleep(2), test 1-10 nano second sleep times.
2011-05-01 09:19:12 +00:00
jruoho
77fa459178
Simplify the previous. (Apparently the sleep time is not that accurate.)
2011-05-01 09:15:14 +00:00
jruoho
23c04498b7
Few basic tests for nanosleep(2).
2011-05-01 09:09:35 +00:00
jruoho
cbbc4a7b84
Two elementary tests for gettimeofday(2).
2011-05-01 07:22:40 +00:00
mrg
44be382b63
convert rf_debug_mem_mutex to a kmutex, and fix RF_DEBUG_MEM option.
2011-05-01 06:49:43 +00:00
jruoho
e426bc4f89
PR lib/42587 was fixed; remove xfail.
2011-05-01 06:42:29 +00:00
mrg
14b1a44c1b
convert rf_tracing_mutex to a kmutex.
2011-05-01 06:22:54 +00:00
mrg
480f8c7b98
convert the (unused) rf_sparet_wait_mutex to a real mutex/cv.
2011-05-01 05:44:47 +00:00
christos
89d0622f3e
Start eliminating "super-user" from the documentation.
2011-05-01 02:54:22 +00:00
pgoyette
18fecdaed4
More lim_free() fallout
2011-05-01 02:52:42 +00:00
christos
0a101028d4
nice should always return EPERM, not EACCES
2011-05-01 02:49:54 +00:00
christos
74ccadd18b
if donice fails, don't keep going with the next process.
2011-05-01 02:46:19 +00:00
rmind
8d15642306
Catch up with lim_privatise() change (missed in previous commit).
2011-05-01 02:08:15 +00:00
rmind
a38faca994
- Remove FORK_SHARELIMIT and PL_SHAREMOD, simplify lim_privatise().
...
- Use kmem(9) for struct plimit::pl_corename.
2011-05-01 01:15:18 +00:00
mrg
14a4134463
convert mcpair to kmutex.
2011-05-01 01:09:05 +00:00
rmind
38964b45cb
Merge duplicate code fragments into a new lim_setcorename() routine.
2011-05-01 00:22:36 +00:00
rmind
d636db9233
Rename limfree() to lim_free(), misc clean up. No functional change.
2011-05-01 00:11:52 +00:00
rmind
b9ca5bc92d
sysctl_proc_corename: improve comments, clean up, move a check for
...
KAUTH_REQ_PROCESS_CORENAME_SET earlier, do not bother to strcmp().
2011-04-30 23:41:17 +00:00
martin
251de2dee0
Save a few global registers during set/longjmp - at least the application
...
registers and the only currently used system register (%g7).
Sparc now passes the setjmp tests (and should be able to build perl again).
2011-04-30 23:41:12 +00:00
martin
9881f8de04
Fix previous: the way we calculate, we need to test the size of sigjmp_buf
2011-04-30 23:39:08 +00:00
martin
c670087695
Add another compile time assert: catch overflows of jmp_buf
2011-04-30 23:30:27 +00:00
martin
b549c67469
Save/restore some global registers (sigsetjmp compatible). Does not realy
...
make a difference currently, but is a hard to spot blackhole if something
ever starts using the application registers.
2011-04-30 19:43:17 +00:00
martin
44283e6e19
Rearange jmp_buf content again: storing the sigsetjmp() save_mask midway
...
inside the environment is not a good idea, we may overwrite it when
fetching other details of the sigjmp environment.
Instead move it to the very end again.
Do not bother to save volatile (caller saved) global registers.
Fixes PR port-sparc64/44918.
2011-04-30 19:39:38 +00:00
jym
8e2b504dac
Small typo fix.
2011-04-30 19:34:10 +00:00
plunky
676a6668e7
correct comment
2011-04-30 19:21:09 +00:00
christos
6604c82010
add a define for pcb_sp
2011-04-30 16:58:35 +00:00
christos
acc16d96d1
Share the amd64 and i386 files.
...
XXX: Is there a better way to get the cpu family?
2011-04-30 16:57:58 +00:00
hannken
316e4e1a25
ufs_mknod: change vnode type to VNON before it gets unlocked. Closes a small
...
window where the vnode could have type VCHR but op vector ffs_vnodeop_p.
2011-04-30 14:24:27 +00:00
alnsn
df45d61f55
Save/restore errno in error path in dupgood. Check that n>0 before
...
accessing banner[n-1].
Approved a while ago by pooka@
2011-04-30 12:25:05 +00:00
alnsn
d4a5682920
Add new files.
2011-04-30 11:24:14 +00:00
phx
7a9e3e0e9f
Add Iomega Storcenter dsrtc device (DS1337).
2011-04-30 11:14:04 +00:00
phx
a5da0088ea
Detect QNAP board last, because a Realtek chip at pci device 15 is used
...
on several boards.
2011-04-30 11:12:58 +00:00
jruoho
4f729153dd
Few fundamental consistency checks for kill(2).
2011-04-30 06:20:37 +00:00
mrg
2b448af86b
- convert rf_printf_mutex to a kmutex
...
- convert rf_rad_lock and the per-raid "cv" to per-raid kmutex/and real cv
- use rf_mutex_init() in places, and move it with the similar definitions
2011-04-30 01:44:36 +00:00
alnsn
fc6d41fbf1
PR/42320 doesn't seem to be fixed, mark the failure as expected.
2011-04-30 01:10:07 +00:00
alnsn
914f29ef1b
Add files required for the new testcase in t_awk.sh.
2011-04-30 00:35:03 +00:00
jakllsch
fb405999a1
Add simplistic atabus(4) rescan support.
2011-04-30 00:34:03 +00:00
jym
bf7437481f
Move the connection code of xbdback(4) and xvif(4) backends in separate
...
functions. The frontend watch function is easier to read, and mixing
switch() with goto's error paths is rather error-prone.
While here, sprinkle some aprint_*.
Tested under amd64 dom0 with i386 PAE and amd64 domUs.
2011-04-29 22:58:46 +00:00
rmind
e0258609a4
Small comment improvement.
2011-04-29 22:57:54 +00:00
jym
13cf826eb8
Silence xenbus_read_target() in ENOENT case (== entry is missing from
...
Xenstore). The error case does not bring much here; assume that the value
is 0.
Print the error code when writing the ``target'' value fails.
2011-04-29 22:52:02 +00:00
jym
21afd04a13
Apply DRY: xpmap_{mtop,ptom}() can reuse xpmap_{mtop,ptom}_masked() for
...
the frame number lookup.
No functional change.
2011-04-29 22:45:41 +00:00
phx
e6fc9bd646
When we stretch a short frame to 60 bytes in rge_send() do not return 60,
...
but the original frame size.
2011-04-29 22:21:36 +00:00
matt
e12e68f065
simplify. Don't limit data way size to a page.
2011-04-29 22:19:30 +00:00
matt
63477e36a1
whitespace cleanup.
2011-04-29 22:18:53 +00:00
matt
0e99e28b91
minor cleanup (remove redundant static, fix whitespace).
2011-04-29 22:18:16 +00:00
matt
bdd6748264
Remove redundant opt_multiprocessor.h include
2011-04-29 22:17:17 +00:00
matt
aa6c45b7f0
Add/move some COP0_SYNC. increment tlb miss counter on mips3 and mips64r2
...
#ifdef MIPS3 / #endif more nops
2011-04-29 22:16:49 +00:00
matt
e31a36ddcb
Add whitespace
2011-04-29 22:14:59 +00:00
matt
391750b76c
KNF cleanup.
2011-04-29 22:14:35 +00:00