| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
atime and mtime are UTIME_OMIT (at least for ufs, tmpfs, and ext2fs), and
to correctly handle a timestamp of -1.
ok millert@
|
|
|
|
|
|
|
| |
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
|
| |
|
|
|
|
|
|
| |
doesn't have all the values and therefore can't be used everywhere.
ok deraadt@ kettenis@
|
|
|
|
|
|
| |
eliminating the must-be-kept-in-sync UVM_INH_* macros
ok deraadt@ tedu@
|
|
|
|
|
|
|
|
|
|
|
| |
(tn_links == 0). Failure to enforce such a check can lead to the
violation of the assumption that removed directories should not
contain directory entries and thus trigger a kernel diagnostic
assertion (panic).
Fix provided by Pedro Martelletto, thanks!
OK millert@
|
|
|
|
| |
to include that than rdnvar.h. ok deraadt dlg
|
|
|
|
|
|
|
| |
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis
|
|
|
|
|
|
| |
<uvm/uvm.h> if possible and remove double inclusions.
ok beck@, mlarkin@, deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thanks to krw@ for the original cherry-picking, millert@ for useful comment.
so:
- no longer expose internal kernel addresses, uses seq numbers instead
- make sure the numbers don't overflow (millert@ UINT64_MAX)... a
conservative estimate is that tmpfs will run out of seqs in >600 years...
- don't malloc dents, put them on the stack and zero them
- gc whiteout code
- gc getpage/putpage code (shrink uvm instead)
okay krw@, millert@
|
|
|
|
|
|
|
|
|
|
| |
after the last entry that fit, but I had it setting it to the cookier
of the entry after that, so it would skip one entry for each block
required.
Remove the no-longer-needed cnt/cntp variable while we're touching things.
prodding and testing by espie@
|
|
|
|
| |
Prodding and initial diff from espie@
|
| |
|
|
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@
|