ad
42a7dff463
procfs_map():
...
- Drop the target's vm_map lock before calling uiomove(). We could
deadlock if inspecting /proc/curproc/map.
- If the vm_map might have changed, restart the operation, but give
up after 250 retries if the map keeps changing. XXX This is not
ideal.
2007-02-18 20:03:44 +00:00
briggs
04a29fca2b
Adapt to newlock2.
2007-02-18 19:59:25 +00:00
pooka
2deb71d45f
Support creating regular files with mknod(2) to match Linux/Solaris
...
behaviour. This happens if mode contains S_IFREG. mknod(2) is
still restricted to the superuser.
no objections from tech-kern
2007-02-18 19:57:29 +00:00
martin
1c144699b5
Make use of another call delay slot, pointed out by uwe.
2007-02-18 19:09:36 +00:00
degroote
9e2b4bf469
Always free the sav, not only in the mature case
2007-02-18 18:58:17 +00:00
pooka
a24db39ba5
move getdir() location to match layout of real fuse operations
2007-02-18 18:47:40 +00:00
briggs
470fb10317
Add arm/atomic.h
2007-02-18 18:47:36 +00:00
martin
420d0debfd
Make use of a call delay slot and avoid a bogus EMPTY.
...
Spotted by Juergen Hannken-Illjes, with input from Andrew Doran and
Valeriy E. Ushakov.
2007-02-18 18:30:06 +00:00
martin
7bb9e12996
Whitespace cosmetics
2007-02-18 18:25:40 +00:00
martin
13e6855e81
Backout previous: EMPTY was misused
2007-02-18 18:23:58 +00:00
dsl
eeeb3c2624
Get config(1) to supply the default parameters for BEEP_ON_HALT.
2007-02-18 18:20:26 +00:00
christos
731b8a1ee4
SHA512_Last is not public anymore.
2007-02-18 18:16:24 +00:00
dsl
5c89b1866e
Get config(1) to supply the default values for BEEP_ONHALT.
2007-02-18 18:15:41 +00:00
christos
ace49726e7
Make SHA512_Last static since it is not part of the API. Suggested by
...
Matthias Scheler
2007-02-18 18:13:38 +00:00
dsl
a1ab8f91ce
Add commented out entries for SYSCALL_STATS and SYSCALL_TIMES
2007-02-18 18:05:52 +00:00
agc
3d88835937
Added extra functionality:
...
fuse_opt_free_args()
fuse_exit()
Both from Juan RP - thanks!
2007-02-18 17:44:57 +00:00
pooka
8022394bca
Until someone can sort non-priviledged mounts and kauth, force
...
MNT_NOSUID | MNT_NODEV for mounts with geteuid() != 0. I'm tired
of typing them on the command line every time I test a file system.
2007-02-18 17:38:10 +00:00
pooka
b681c2611b
dump return values for operations
2007-02-18 17:36:48 +00:00
dsl
eebb2036b8
Document 'systat syscall'.
2007-02-18 17:29:26 +00:00
ad
4de88fa799
Drop proc::p_smutex before calling cpu_getmcontext().
2007-02-18 17:11:27 +00:00
dsl
49c5f0e9e5
Include code to display per system call counts and times.
2007-02-18 17:00:08 +00:00
dsl
d64834e4f1
Add code to support per-system call statistics:
...
option SYSCALL_STATS counts the number of times each system call is made
option SYSCALL_TIMES counts the amount of time spent in each system call
Currently the counting hooks have only been added to the i386 system call
handler, and the time spent in interrupts is not subtracted.
It ought also be possible to add the times to the processes profiling
counters in order to get a more accurate user/system/interrupt split.
The counts themselves are readable via the sysctl interface.
2007-02-18 16:58:15 +00:00
ad
987a3f27ee
Add missing headers.
2007-02-18 16:56:44 +00:00
ad
e2147a0dfd
+ mutex.h, rwlock.h
2007-02-18 16:25:44 +00:00
ad
85fc2680c6
+ mutex.h
2007-02-18 16:24:31 +00:00
ad
237f052be3
+ mutex.h, rwlock.h
2007-02-18 16:18:25 +00:00
hannken
61eeb25754
Fix typo in last: Pk_32 -> PK_32
2007-02-18 16:17:26 +00:00
dsl
ff6d800c8f
Optimise canonicalisation of l_rtime for the case when the start and stop
...
times are in the same second.
2007-02-18 16:03:06 +00:00
briggs
5f2083f440
Install atomic.h, as needed by the installed rwlock.h.
2007-02-18 15:53:55 +00:00
dsl
6cdc9eacd6
There is no point acquiring locks if we don't do anything.
2007-02-18 15:51:54 +00:00
dsl
c8acc5992d
Update only user code that uses the types of the e_[pu]cred members
...
of struct kinfo_proc.
2007-02-18 15:22:44 +00:00
dsl
6209b5bbf3
The pre-kauth 'struct ucread' and 'struct pcred' are now only used in the
...
(depracted some time ago) 'struct kinfo_proc' returned by sysctl.
Move the definitions to sys/syctl.h and rename in order to ensure all the
users are located.
2007-02-18 15:20:34 +00:00
cube
c7565916df
Regen (missing lwp syscalls).
2007-02-18 15:00:14 +00:00
degroote
5bf3692f91
Fix the {ah,esp}4_ctlinput code
2007-02-18 14:28:25 +00:00
ad
d266042a07
Release ufs_hashlock before calling ungetnewvnode().
2007-02-18 14:26:52 +00:00
degroote
b7fbb86788
Forgot to remove two useless extern
2007-02-18 14:13:52 +00:00
degroote
b0339b36b0
Constify the code following the dyoung change ( the "bug" was hidden by the
...
extern declaration ).
While here, remove a Kame ifdef which is useless in netipsec code
2007-02-18 13:55:25 +00:00
martin
c545f935c5
Make EMPTY expand to nop with gas, as it is used to mark empty branch
...
delay slots.
2007-02-18 13:28:28 +00:00
degroote
0a648e9c8b
Remove __P
...
Remove useless extern
Use ansi declaration
2007-02-18 13:27:31 +00:00
wiz
784ece2d87
Improve wording, from Joerg Niendorf in PR 35660.
2007-02-18 12:33:47 +00:00
wiz
5c18c23b92
gcc-4.1.2 is out.
2007-02-18 12:29:24 +00:00
tsutsui
1359adc400
No need to specify BUS_DMA_ALLOCNOW for sglist map
...
since it will never be unloaded anyway.
2007-02-18 12:26:13 +00:00
tsutsui
a632ff6d41
According to info from Byron Servies on port-cobalt,
...
the interrupt line from the primary (and only) tulip Ethernet
on Qube2700 is connected to CPU INT2, so handle it properly
in pci_intr_map(9).
2007-02-18 12:22:16 +00:00
tsutsui
14dfb0043c
- KNF, ANSIfy, TAB/space cleanup
...
- unwrap some lines
- u_intNN_t -> uintNN_t
2007-02-18 12:16:14 +00:00
tsutsui
bd2568487a
KNF a bit.
2007-02-18 11:52:18 +00:00
dsl
923424a8c0
Keep proclist_lock held across p_find and use of result proc.
2007-02-18 11:45:35 +00:00
dsl
1564fa5d82
ANSI prototypes
2007-02-18 11:38:15 +00:00
dsl
c7907fd992
Factor out the replicated code that verifies that the caller is allowed
...
to acces the required process into a separate function (hi cut and paste).
Acquire the proclist_lock across p_find().
2007-02-18 09:45:39 +00:00
cube
c376ba15d1
Add missing lwp syscalls. Put them all together into a new file,
...
netbsd32_lwp.c, and remove remaining traces of SA.
This still needs some MD (and possibly MI, depending on the chosen
solution) changes to actually work.
2007-02-18 09:03:54 +00:00
macallan
e8e145b6d9
fix typo - softintr.c is in arch/arm/arm/ not arch/arm/
2007-02-18 08:10:41 +00:00