summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs/tmpfs_fifoops.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* struct vops is not modified during runtime so use const which moves eachclaudio2020-01-201-2/+2
| | | | | into read-only data segment. OK deraadt@ tedu@
* remove #if 0 cdefs.h blocksderaadt2015-01-211-6/+1
|
* A few fixes from Pedro Martelletto, adapted fromespie2013-10-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/bitrig/bitrig/commits/pedro_tmpfs_fixes 7efd381ac3: # mkdir -p x/y # mv x/y/. z (or mv x/y/.. z) (panic) 264ecd2c7b: # mknod x b 100 100 (can be any block/character device) # ls -lR / (panic) 7da08d22fd: # mkfifo x (or mknod x) # mv x y (panic) af0666c65a: # mount -t tmpfs -o -n16 tmpfs /mnt (create tmpfs with 16 inodes limit) # cd /mnt # touch x # for i in `jot 100 1 100`; do ln -s x $i; done (create 100 symlinks, = they "succeed" even though they failed) # ls -lart 7e9296a6f8: # mkdir x # touch x/y # chflags uappnd x (or sappnd) # rm x/y 936b9cf257: # mkdir -p x/y # rmdir x/y/.. (panic) de541406ef: # touch x # ln x y # stat -f %c x # sleep 10 # rm y # stat -f %c x okay guenther@, krw@
* sprinkle $OpenBSD$, pointed out by pedroespie2013-06-031-0/+1
|
* import tmpfs code, originally from netbsd.espie2013-06-011-0/+130
heavy lifting by Pedro Martelletto, timestamp fixes by me. THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW. Imported, so that working on it can be mostly done in tree with less painful diff exchanges, and that we have history of further changes. okay tedu@, deraadt@