| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
working read() and write().
ok tedu@
|
|
|
|
|
|
|
|
| |
when the fuse communication channel is broken and ENOSYS when the
libfuse callback does not exist.
Reported by Helg Bredow, thanks!
ok tedu@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pulled by <uvm/uvm_extern.h> and turn uvm_total() into a private
function.
The preferred way to get memory stats is through the VM_UVMEXP
sysctl(3) since VM_METER is just a wrapper on top of it. In the
kernel, use `uvmexp' directly instead of uvm_total().
This change does not remove <sys/vmmeter.h> from <uvm/uvm_extern.h>
to give some more time to port maintainers to fix their ports.
ok guenther@ as part of a larger diff.
|
|
|
|
|
|
| |
through uvm/uvm.h and add proper includes for function definitions.
ok syl@
|
|
|
|
| |
ok tedu@
|
|
|
|
| |
ok beck@
|
| |
|
|
|
|
|
|
|
|
| |
make it a list of processes, and change P_NOZOMBIE and P_STOPPED from thread
flags to process flags. Add allprocess list for the code that just wants
to see processes.
ok tedu@
|
|
|
|
| |
ok millert@.
|
|
|
|
|
|
| |
can be further simplified.
ok kettenis@
|
|
|
|
|
|
| |
Spotted by pelikan@
Some input from stsp@
OK stsp@, pelikan@
|
|
|
|
|
| |
OK tedu@
"it looks good to me" from guenther@
|
|
|
|
|
|
| |
Input from millert@.
Ok millert@, tedu@.
|
|
|
|
|
|
|
|
| |
This way, if fuse unmounts a FS without FBT_DESTROY, the fuse_mnt pointer
is already invalidated. Also, on weird unmount situations with vnodes in
use, vflush() them before doing fuse_device_cleanup().
Tested with ntfs-3g, ok syl@.
|
|
|
|
|
|
| |
of vnode in userspace.
"I think it's right" from tedu@.
|
|
|
|
|
|
| |
the fuse device.
ok sthen@
|
|
|
|
|
|
| |
libfuse is still open before sending fusebufs.
ok sthen@
|
|
|
|
| |
Found the hard way and ok mpk@
|
| |
|
|
|
|
| |
tested with ajacoutot@ on gvfs+nautilus.
|
| |
|
|
|
|
| |
Thanks to Pedro Martelletto.
|
| |
|
| |
|
| |
|
|
|
|
| |
and mnt_stat.f_ctime is long long, too
|
|
|
|
| |
Thanks to Pedro Martelletto.
|
| |
|
|
|
|
| |
ok tedu@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok tedu@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok matthew@ deraadt@
|
|
|
|
|
| |
from Sylvestre Gallon ccna.syl gmail.com. Many thanks to Sylvestre for
all the hard work.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the special provided when the mount was requested. This may be the same as
the special that was actually used for the mount (e.g. in the case of a
device node) or it may be different (e.g. in the case of a DUID).
Whilst here, change f_ctime to a 64 bit type and remove the pointless
f_spare members.
Compatibility goo courtesy of guenther@
ok krw@ millert@
|
|
|
|
|
|
|
| |
msdos, NFS, fifos and devices, plus support for querying it in
getconf(2) and the requisite pathconf(2) manpage blurb
ok tedu@
|
|
|
|
|
|
|
|
|
|
|
| |
_PC_PRIO_IO, and _PC_SYNC_IO names in VOP_PATHCONF(), as they're
fs-independent for us. Since we don't support latter three on any
fs, we can also define the related _POSIX_{ASYNC,PRIO,SYNC}_IO
symbols in <unistd.h> (via sys/unistd.h) with value -1.
Also, zap pointless tty-only values from procfs(!).
ok beck@, deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
- Avoid using copyinstr() without checking the return value.
- sys_mount() has already copied the path in, so pass this to the
filesystem mount code so that it does not have to copy it in again.
- Avoid copyinstr()/bzero() dance when we can simply bzero() and strlcpy().
ok krw@
|
|
|
|
|
|
| |
to diff against FreeBSD's.
From Brad; no object file change on amd64.
|
|
|
|
|
|
|
|
| |
count processes instead of threads. New sysctl()s KERN_NTHREADS and
KERN_MAXTHREAD count and limit threads. The nprocs and maxproc kernel
variables are replaced by nprocess, maxprocess, nthreads, and maxthread.
ok tedu@ mikeb@
|
|
|
|
|
|
|
| |
of per-rthread. Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.
ok kettenis@
|
|
|
|
| |
the main thread exiting. c.f. regress/sys/kern/main-thread-exited/
|
|
|
|
|
|
|
|
|
|
| |
- move the P_TRACED and P_INEXEC flags, and p_oppid, p_ptmask, and
p_ptstat member from struct proc to struct process
- sort the PT_* requests into those that take a PID vs those that
can also take a TID
- stub in PT_GET_THREAD_FIRST and PT_GET_THREAD_NEXT
ok kettenis@
|
|
|
|
|
|
|
|
| |
and extending it to support rthreads would be a waste of time. Also, don't
show rthreads in the process listing in procfs.
Reassurances that compat_linux doesn't need this from ajacoutot@
ok kettenis@
|
| |
|
|
|
|
| |
ok deraadt
|
|
|
|
|
|
| |
filled in. Move D_CLONE down to 0x0001 as suggested by thib.
ok deraadt thib
|