| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
MFC (in the spirit of) revision 1.54 of
src/sys/fs/procfs/procfs_status.c
Approved by: so (nectar)
Notes:
svn path=/stable/4/; revision=138282
|
| |
|
|
|
|
|
|
|
| |
apparently never made it back to my local repository.
Pointy hat to: das
Notes:
svn path=/stable/4/; revision=124496
|
| |
|
|
|
|
|
| |
src/sys/fs/unionfs/union_vnops.c,v 1.103
Notes:
svn path=/stable/4/; revision=124458
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This could cause a reader of /proc/*/regs to spin, because read(2)
would never return end-of-file. In practice, this has much less
impact than I would expect. Tools such as truss(1) make only a
single, fixed-size read (into a `struct reg'). (Similarly for
write(2).)
The cause was a sort of typo: `uiomove_frombuf' was spelled
`uiomove'.
Noticed by: David Rhodus <drhodus@catpa.com>
Approved by: re (implicitly)
Notes:
svn path=/stable/4/; revision=120749
|
| |
|
|
|
|
|
|
|
|
| |
pseudofs_vnops.c 1.42, kern_subr.c 1.77, uio.h 1.28:
Correct several integer underflows/overflows in procfs.
Approved by: re
Notes:
svn path=/stable/4/; revision=120669
|
| |
|
|
|
|
|
|
|
| |
Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in procfs_rwmem().
Use vm_page_hold() in place of vm_page_wire() since the page can be freed.
Don't hold extra reference to the containing vm object while page is mapped.
Notes:
svn path=/stable/4/; revision=118834
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix memory leak
union_subr.c,v 1.71
Add union_dircache_free()
union.h,v 1.27
union_subr.c,v 1.72
union_vnops.c,v 1.98
Add malloc types M_UNDCACHE and M_UNPATH
union_subr.c,v 1.73
Fix panic when unionfs is mounted atop another unionfs, style
union_vnops.c,v 1.99
union_vnops.c,v 1.100
Notes:
svn path=/stable/4/; revision=116516
|
| |
|
|
|
|
|
|
|
| |
for another reader or writer if one arrived and departed while we were
waiting (or a little earlier). This should fix some races, but it is
reported to not actually fix the original problem with sendmail.
Notes:
svn path=/stable/4/; revision=113848
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=110642
|
| |
|
|
|
|
|
|
|
|
| |
VFS code in -CURRENT so this change is only needed in -STABLE.
PR: kern/41527
Reviewed by: Alfred "If it works, commit it. :)" Perlstein
Notes:
svn path=/stable/4/; revision=102319
|
| |
|
|
|
|
|
| |
LK_THISLAYER.
Notes:
svn path=/stable/4/; revision=101000
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=90872
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MFC 1.191 src/sys/sys/proc.h
MFC 1.44 src/sys/kern/kern_exec.c (execve)
Add P_INEXEC flag to indicate that a process is currently exec'ing.
sys/kern/sys_process.c (ptrace)
sys/miscfs/procfs/...
Do not allow debugging of a process during exec.
Submitted by: tegge
Approved by: re
Notes:
svn path=/stable/4/; revision=89661
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* LK_TIMEOUT lock flag to separate lock acquisition with and without
a timeout (dillon)
* use of LK_TIMEOUT in BUF_TIMELOCK to avoid timeout race aginst
BUF_LOCK (dillon)
* use of LK_TIMEOUT in pageout vget() code to avoid deadlock (dillon)
* move vnode reclaim into its own kthread to avoid deadlocks (Yahoo)
* remove 'VXLOCK interlock avoided' messages.. they can occur
under normal operation and create a choking hazzard on the console.
* Adjust VMIGHTFREE macro used with vnode reclaim code to avoid
eating large amounts of cpu with little to show for it in certain
situations.
* Add VREF/VRELE around UFS_UPDATE() call to avoid update/reclaim
race (note: snuck in at last minute but I accidently did a partial
commit a moment ago and the tree is broken until I commit the rest
of it). This is minor and will be tested heavily.
Approved by: Release Engineers
Notes:
svn path=/stable/4/; revision=88467
|
| |
|
|
|
|
|
| |
(note: file has moved in -CURRENT)
Notes:
svn path=/stable/4/; revision=85708
|
| |
|
|
|
|
|
| |
for scaleability fixes for machines with >= 2G of ram coming down the pipe.
Notes:
svn path=/stable/4/; revision=85499
|
| |
|
|
|
|
|
|
|
| |
and makes the code a lot nicer.
PR: kern/25266
Notes:
svn path=/stable/4/; revision=85332
|
| |
|
|
|
|
|
| |
PR: 30706
Notes:
svn path=/stable/4/; revision=85011
|
| |
|
|
|
|
|
|
|
| |
arguments to some functions.
Approved by: jkh
Notes:
svn path=/stable/4/; revision=83330
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysctl-driven "ps" (and friends), special-casing of kmem gid in the
procfs authorization is no longer needed. Clean up this morally
ambiguous code. This MFC is from fs/procfs, as procfs has been
repo-copied. Unlike -CURRENT, linprocfs required modification as
in -STABLE, it has direct knowledge of the inter-process debugging
authorization policy. In -CURRENT, this is abstracted behind
p_cansignal().
procfs.h: 1.36, 1.37
procfs_mem.c: 1.53
procfs_subr.c: 1.35
procfs_vnops.c: 1.100, 1.101
Reviewed by: jedgar, tmm
Approved by: re@FreeBSD.org
Notes:
svn path=/stable/4/; revision=81548
|
| |
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/stable/4/; revision=81125
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
extra references on the filesystem root vnode. This fixes bugs in
a number of filesystems that could cause forced umounts to erroneously
return EBUSY, and it centralises a lot of xxx_unmount logic.
This unfortunately requires the recompilation of any filesystem
KLDs, although I have added an extra sanity check that should help
to avoid panics if old modules are used (the filesystem may refuse
to umount, and if so, a warning message will appear on the console).
Not objected to by: -stable
Notes:
svn path=/stable/4/; revision=80411
|
| |
|
|
|
|
|
|
| |
implementation, header files, and man pages (i.e., all files specific
to DEVFS).
Notes:
svn path=/stable/4/; revision=80324
|
| |
|
|
|
|
|
|
|
|
| |
ufs mounts can be used for null mounts. msdosfs and cd9660fs fixes
are trivial and will be committed shortly. Null mounts on top of nfs
filesystem will cause problems after rename() operation. This issue
also present in -current and can be fixed too.
Notes:
svn path=/stable/4/; revision=78800
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=78298
|
| |
|
|
|
|
|
| |
PR: kern/27250
Notes:
svn path=/stable/4/; revision=78206
|
| |
|
|
|
|
|
|
|
|
| |
o Overload vop_open() in order to catch MNT_NODEV case.
o Overload null_rename() to avoid cross layer renames. They don't work
well atm.
o Use macros from queue.h.
Notes:
svn path=/stable/4/; revision=77482
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=77480
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=76305
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=73061
|
| |
|
|
|
|
|
|
| |
a buffer is skipped due to being busy. Continue to ensure that a MNT_WAIT
fsync drains all buffers to avoid panic in umount/vinvalbuf
Notes:
svn path=/stable/4/; revision=71941
|
| |
|
|
|
|
|
| |
solution. See commitlogs/sys '2000/12/26 11:41:38 PST'
Notes:
svn path=/stable/4/; revision=70504
|
| |
|
|
|
|
|
|
|
|
|
|
| |
/proc/pid/ctl. This is a backport of the -CURRENT patch to use
the procfs CHECKIO() interface rather than the p_can interface
available in -CURRENT. sef reviewed the patch for -CURRENT, and
had proposed a less fascist version of the patch for -STABLE.
Reviewed by: security-officer, alfred
Notes:
svn path=/stable/4/; revision=70107
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=69189
|
| |
|
|
|
|
|
|
|
| |
will come later.
Approved by: jkh
Notes:
svn path=/stable/4/; revision=68825
|
| |
|
|
|
|
|
|
| |
MFC: 1.85
Approved by: jkh
Notes:
svn path=/stable/4/; revision=68464
|
| |
|
|
|
|
|
|
|
|
| |
Do this by (for now, at least) re-instating the previously-removed CHECKIO()
macro.
Reviewed by: Robert Watson <rwatson@FreeBSD.org>, Kris Kennaway <kris@FreeBSD.org>
Notes:
svn path=/stable/4/; revision=68207
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=68200
|
| |
|
|
|
|
|
|
|
| |
protect nullfs node hash with lockmgr().
properly release vnode if mount deadlock detected.
give nullfs node its own malloc type.
Notes:
svn path=/stable/4/; revision=67546
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=67545
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=64172
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=61893
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=60020
|
| |
|
|
|
|
|
|
| |
Since -core has requested that linprocfs be moved into the linuxulator
this never should have entered RELENG_4.
Notes:
svn path=/stable/4/; revision=59357
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=58569
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=58557
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=58160
|
| |
|
|
|
|
|
|
|
| |
prettier (?) names, adding some const's around here, et al.
Reviewed by: bde
Notes:
svn path=/head/; revision=56272
|
| |
|
|
|
|
|
| |
Suggested by: bde
Notes:
svn path=/head/; revision=55756
|
| |
|
|
|
|
|
|
|
| |
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Notes:
svn path=/head/; revision=55206
|