summaryrefslogtreecommitdiffstats
path: root/sys/fs
Commit message (Collapse)AuthorAgeFilesLines
* Supported non-512 bytes/sector format.nyan2000-01-274-70/+61
| | | | | | | 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>
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-192-3/+3
| | | | | | prettier (?) names, adding some const's around here, et al. Reviewed by: bde
* Check if module was compiled without SMP support and running onbp2000-01-151-0/+9
| | | | an SMP system.
* Add VT_NWFS tag.bp2000-01-151-4/+0
|
* Forward declare some structs so that this header is more self-suifficent.bde2000-01-144-0/+28
|
* Use MALLOC_DECLARE when it is #defined, not when a (wrong) test ofbde2000-01-141-1/+1
| | | | __FreeBSD_version succeeds.
* remove check now done in vn_isdisk().phk2000-01-101-4/+0
|
* Give vn_isdisk() a second argument where it can return a suitable errno.phk2000-01-105-15/+12
| | | | Suggested by: bde
* Treat negative uio_offset value as eof (idea by: bde).bp2000-01-081-8/+11
| | | | | | | Prevent overflows by casting uio_offset to uoff_t. Return correct error number if directory entry is broken. Reviewed by: bde
* Return ENXIO if there is no device.phk2000-01-021-1/+5
|
* Fix the mess with signed/unsigned longs and ints (inspired by bde).bp2000-01-021-18/+26
| | | | | | 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.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-2915-31/+31
| | | | | | 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.
* Avoid to write garbage if uiomove fails.bp1999-12-281-0/+4
|
* Fix an overflow in the msdosfs_read() function which exposed on the filesbp1999-12-281-3/+3
| | | | | | | | with size > 2GB. PR: 15639 Submitted by: Tim Kientzle <kientzle@acm.org> Reviewed by: phk
* It is possible that number of sectors specified in the BPBbp1999-12-282-6/+14
| | | | | | | | will exceed FAT capacity. This will lead to kernel panic while other systems just limit number of clusters. PR: 4381, 15136 Reviewed by: phk
* Fix typo "," vs ";"peter1999-12-271-1/+1
| | | | | PR: 15696 Submitted by: Takashi Okumura <taka@cs.pitt.edu>
* Fix a typo that was doing something kind of silly, and that is initializingchris1999-12-211-1/+1
| | | | | | | | | | | | 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
* Include vm/vm_extern.h to get at prototypeseivind1999-12-201-0/+1
|
* Second pass commit to introduce new ACL and Extended Attribute systemrwatson1999-12-1912-5/+55
| | | | | | | calls, vnops, vfsops, both in /kern, and to individual file systems that require a vfsop_ array entry. Reviewed by: eivind
* Introduce NDFREE (and remove VOP_ABORTOP)eivind1999-12-1516-219/+45
|
* Fix pointer problem for the Alphapeter1999-12-121-2/+2
|
* Bump local version number to 1.3.4.bp1999-12-121-1/+1
|
* Lock reporting and assertion changes.eivind1999-12-116-14/+17
| | | | | | | | | | | | | | | * 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
* Don't simulate a pseudo address-space beyond VM_MAXUSER_ADDRESS thatpeter1999-12-111-40/+0
| | | | | | | | | | | 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.
* First version of HPFS stuff.semenu1999-12-0910-0/+4993
|
* Remove unused #includes.phk1999-12-089-13/+0
| | | | Obtained from: http://bogon.freebsd.dk/include
* Commit the kernel part of our DVD support. Nothing much to say really,sos1999-12-071-0/+30
| | | | its just a number of new ioctl's, the rest is done in userland.
* Merged NetBSD version, as they have done improvements:semenu1999-12-0312-1014/+1111
| | | | | | | | | | | 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
* Collect read and write counts for filesystems. This new codemckusick1999-12-011-0/+21
| | | | | | | | | | | | | | 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>
* Remove abuse of struct nameidata.bp1999-11-271-7/+4
| | | | Pointed by: Eivind Eklund
* Add a sysctl to control if argv is disclosed to the world:phk1999-11-261-1/+1
| | | | | | | kern.ps_argsopen It defaults to 1 which means that all users can see all argvs in ps(1). Reviewed by: Warner
* Introduce the new functionphk1999-11-217-20/+7
| | | | | | | | | | | | | | 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.
* Remove race condition under SMP.bp1999-11-211-2/+8
| | | | Noted by: Denis Kalinin <denis@mail.rbc.ru>
* s/p_cred->pc_ucred/p_ucred/gphk1999-11-213-4/+4
|
* A process should be able to examine itself.sef1999-11-201-2/+3
|
* struct mountlist and struct mount.mnt_list have no business beingphk1999-11-202-5/+4
| | | | | | | | | | 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
* Fix an unused variable warning.peter1999-11-181-1/+0
|
* Fix a warning.peter1999-11-181-0/+3
|
* Make proc/*/cmdline use the cached argv if available.phk1999-11-171-21/+31
| | | | | Submitted by: Paul Saab <paul@mu.org> Reviewed by: phk
* The function `procfs_getattr()' in procfs doesn't set the value ofphk1999-11-171-0/+2
| | | | | | | | 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
* Remove WILLRELE from VOP_SYMLINKeivind1999-11-132-12/+5
| | | | | | 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.
* Remove WILLRELE from VOP_RENAMEeivind1999-11-121-2/+1
|
* Next step in the device cleanup process.phk1999-11-094-324/+88
| | | | | | | | 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.
* Passing "0" or "FALSE" as the fourth argument to vm_fault is wrong. Italc1999-11-091-1/+1
| | | | should be "VM_FAULT_NORMAL".
* remove a confusing and stale comment.phk1999-11-081-3/+0
|
* Oops, a bit too hasty there.phk1999-11-081-3/+0
|
* Various cleanups.phk1999-11-081-27/+14
|
* Explain why Warner is right, and I am wrong, in the removing of thesef1999-11-081-0/+14
| | | | | | | | | | | 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.
* Update for fileops.fo_stat() addition. Note, this would panic ifpeter1999-11-081-2/+3
| | | | it saw a DTYPE_PIPE. This isn't quite right but should stop a crash.
* Use vop_panic() instead of spec_badop().phk1999-11-071-23/+11
|
OpenPOWER on IntegriCloud