| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
PR: misc/12992
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and
Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Reviewed by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
|
|
|
|
|
|
| |
prettier (?) names, adding some const's around here, et al.
Reviewed by: bde
|
|
|
|
| |
an SMP system.
|
| |
|
| |
|
|
|
|
| |
__FreeBSD_version succeeds.
|
| |
|
|
|
|
| |
Suggested by: bde
|
|
|
|
|
|
|
| |
Prevent overflows by casting uio_offset to uoff_t.
Return correct error number if directory entry is broken.
Reviewed by: bde
|
| |
|
|
|
|
|
|
| |
Fix potential bug with directory reading.
Explicitly limit file size to 4GB (msdos can't handle larger files).
Slightly reorganize msdosfs_read() to reduce number of 'if's.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
with size > 2GB.
PR: 15639
Submitted by: Tim Kientzle <kientzle@acm.org>
Reviewed by: phk
|
|
|
|
|
|
|
|
| |
will exceed FAT capacity. This will lead to kernel panic while other
systems just limit number of clusters.
PR: 4381, 15136
Reviewed by: phk
|
|
|
|
|
| |
PR: 15696
Submitted by: Takashi Okumura <taka@cs.pitt.edu>
|
|
|
|
|
|
|
|
|
|
|
|
| |
the creation time for files to the uninitialized value:
vap->va_ctime = vap->va_ctime;
Changed to what was intended, assigning it to the modification time (thus
making all three values of access time, modification time and creation time
the same thing).
Reviewed by: grog
|
| |
|
|
|
|
|
|
|
| |
calls, vnops, vfsops, both in /kern, and to individual file systems that
require a vfsop_ array entry.
Reviewed by: eivind
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lockstatus() and VOP_ISLOCKED() gets a new process argument and a new
return value: LK_EXCLOTHER, when the lock is held exclusively by another
process.
* The ASSERT_VOP_(UN)LOCKED family is extended to use what this gives them
* Extend the vnode_if.src format to allow more exact specification than
locked/unlocked.
This commit should not do any semantic changes unless you are using
DEBUG_VFS_LOCKS.
Discussed with: grog, mch, peter, phk
Reviewed by: peter
|
|
|
|
|
|
|
|
|
|
|
| |
maps onto the upages. We used to use this extensively, particularly
for ps and gdb. Both of these have been "fixed". ps gets the p_stats
via eproc along with all the other stats, and gdb uses the regs, fpregs
etc files.
Once apon a time the UPAGES were mapped here, but that changed back
in January '96. This essentially kills my revisions 1.16 and 1.17.
The 2-page "hole" above the stack can be reclaimed now.
|
| |
|
|
|
|
| |
Obtained from: http://bogon.freebsd.dk/include
|
|
|
|
| |
its just a number of new ioctl's, the rest is done in userland.
|
|
|
|
|
|
|
|
|
|
|
| |
1. ntfs_read*attr*() functions now accept
uio structure to eliminate one data copying.
2. found and removed deadlock caused
by 6 concurent ls -lR.
3. started implementation of nromal
Unicode<->unix recodeing.
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drops the counting in bwrite and puts it all in spec_strategy.
I did some tests and verified that the counts collected for writes
in spec_strategy is identical to the counts that we previously
collected in bwrite. We now also get read counts (async reads
come from requests for read-ahead blocks). Note that you need
to compile a new version of mount to get the read counts printed
out. The old mount binary is completely compatible, the only
reason to install a new mount is to get the read counts printed.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>
|
|
|
|
| |
Pointed by: Eivind Eklund
|
|
|
|
|
|
|
| |
kern.ps_argsopen
It defaults to 1 which means that all users can see all argvs in ps(1).
Reviewed by: Warner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
p_trespass(struct proc *p1, struct proc *p2)
which returns zero or an errno depending on the legality of p1 trespassing
on p2.
Replace kern_sig.c:CANSIGNAL() with call to p_trespass() and one
extra signal related check.
Replace procfs.h:CHECKIO() macros with calls to p_trespass().
Only show command lines to process which can trespass on the target
process.
|
|
|
|
| |
Noted by: Denis Kalinin <denis@mail.rbc.ru>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a CIRCLEQ. Change them to TAILQ_HEAD and TAILQ_ENTRY respectively.
This removes ugly mp != (void*)&mountlist comparisons.
Requested by: phk
Submitted by: Jake Burkholder jake@checker.org
PR: 14967
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Paul Saab <paul@mu.org>
Reviewed by: phk
|
|
|
|
|
|
|
|
| |
vap->va_fsid, so we cannot get valid information about procfs.
Submitted by: SAWADA Mizuki miz@pa.aix.or.jp
Reviewed by: phk
PR: 1654
|
|
|
|
|
|
| |
Note: Previous commit to these files (except coda_vnops and devfs_vnops)
that claimed to remove WILLRELE from VOP_RENAME actually removed it from
VOP_MKNOD.
|
| |
|
|
|
|
|
|
|
|
| |
Correctly lock vnodes when calling VOP_OPEN() from filesystem mount code.
Unify spec_open() for bdev and cdev cases.
Remove the disabled bdev specific read/write code.
|
|
|
|
| |
should be "VM_FAULT_NORMAL".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
file object. Also explain some possible directions to re-implement it --
I'm not sure it should be, given the minimal application use. (Other
than having the debugger automatically access the symbols for a process,
the main use I'd found was with some minor accounting ability, but _that_
depends on it being in the filesystem space; an ioctl access method would
be useless in that case.)
This is a code-less change; only a comment has been added.
|
|
|
|
| |
it saw a DTYPE_PIPE. This isn't quite right but should stop a crash.
|
| |
|