Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-06 | Include <sys/vmmeter.h> directly instead of relying on it being | Martin Pieuchot | |
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. | |||
2014-03-18 | Do not rely on the fact that sys/vnode.h includes all the world | Martin Pieuchot | |
through uvm/uvm.h and add proper includes for function definitions. ok syl@ | |||
2014-02-01 | Replace the vnode struct vattr cache by VOP_GETATTR() calls. | Sylvestre Gallon | |
ok tedu@ | |||
2014-01-29 | Add fuse support for IO_APPEND. | Sylvestre Gallon | |
ok beck@ | |||
2014-01-21 | naughty guenther didn't compile | Ted Unangst | |
2014-01-20 | Threads can't be zombies, only processes, so change zombproc to zombprocess, | Philip Guenther | |
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@ | |||
2014-01-20 | Do not complain if release is not implemented in fuse client. | Sylvestre Gallon | |
ok millert@. | |||
2014-01-20 | Move p_textvp from struct proc to struct process so that the exit code | Philip Guenther | |
can be further simplified. ok kettenis@ | |||
2014-01-16 | Remove an infinite loop in fuse_device_cleanup(). | Sylvestre Gallon | |
Spotted by pelikan@ Some input from stsp@ OK stsp@, pelikan@ | |||
2014-01-16 | Add support for mknod in fuse. | Sylvestre Gallon | |
OK tedu@ "it looks good to me" from guenther@ | |||
2013-12-20 | Add support for truncate in fuse. | Sylvestre Gallon | |
Input from millert@. Ok millert@, tedu@. | |||
2013-12-10 | Unset fuse_mnt in fusefs_unmount after vflushing and freeing fbufs in use. | pelikan | |
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@. | |||
2013-12-03 | Add support for FBT_RECLAIM that allow us to free the representation | Sylvestre Gallon | |
of vnode in userspace. "I think it's right" from tedu@. | |||
2013-12-03 | Unmount the fuse filesystem if the communication end with | Sylvestre Gallon | |
the fuse device. ok sthen@ | |||
2013-12-03 | Add some missing check to know if the communication channel with | Sylvestre Gallon | |
libfuse is still open before sending fusebufs. ok sthen@ | |||
2013-11-28 | Remove some double free on fusebuf datas. | Sylvestre Gallon | |
Found the hard way and ok mpk@ | |||
2013-10-07 | use printf(9) consistently in FUSE | Sylvestre Gallon | |
2013-10-07 | Add kqueue's support for FUSE. | Sylvestre Gallon | |
tested with ajacoutot@ on gvfs+nautilus. | |||
2013-10-07 | Introduce fb_delete() helper and use it in FUSE code. | Sylvestre Gallon | |
2013-10-07 | Use full 64-bit UUIDs in FUSE. | Sylvestre Gallon | |
Thanks to Pedro Martelletto. | |||
2013-10-07 | Allocate fb_dat in fb_setup(9) | Sylvestre Gallon | |
2013-10-07 | Add new ioctl for handling FUSE buffers | Sylvestre Gallon | |
2013-10-07 | Rework fuseread() and fusewrite(). | Sylvestre Gallon | |
2013-10-01 | Format string fixes: Cast time_t to long long | Stefan Fritsch | |
and mnt_stat.f_ctime is long long, too | |||
2013-09-17 | size_t could not be < 0. | Sylvestre Gallon | |
Thanks to Pedro Martelletto. | |||
2013-08-10 | Remove debug printfs. | Sylvestre Gallon | |
2013-07-11 | Fix a panic on multiple fuse device access. | syl | |
ok tedu@ | |||
2013-07-03 | cast time_t to long long, time_t is signed, tv_nsec is long | Stefan Fritsch | |
ok deraadt@ | |||
2013-06-21 | Make fuse device clonable. | syl | |
ok tedu@ | |||
2013-06-12 | remove extra whitespace | Ted Unangst | |
2013-06-09 | move fuse sysctl defines up and add _KERNEL. from Sylvestre Gallon | Ted Unangst | |
2013-06-05 | rename should be working now, from Sylvestre Gallon | Ted Unangst | |
2013-06-04 | delete a printf, from sylvestre | Ted Unangst | |
2013-06-03 | Convert some internal APIs to use timespecs instead of timevals | Philip Guenther | |
ok matthew@ deraadt@ | |||
2013-06-03 | add a bunch of files for ISC-licensed FUSE support. ok beck deraadt | Ted Unangst | |
from Sylvestre Gallon ccna.syl gmail.com. Many thanks to Sylvestre for all the hard work. | |||
2013-04-15 | Add an f_mntfromspec member to struct statfs, which specifies the name of | Joel Sing | |
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@ | |||
2013-03-28 | Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2, | Philip Guenther | |
msdos, NFS, fifos and devices, plus support for querying it in getconf(2) and the requisite pathconf(2) manpage blurb ok tedu@ | |||
2013-03-28 | Handle the pathconf _PC_PATH_MAX, _PC_PIPE_BUF, _PC_ASYNC_IO, | Philip Guenther | |
_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@ | |||
2012-09-10 | Cleanup VFS mount string handling: | Joel Sing | |
- 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@ | |||
2012-06-20 | Cleanup our filesystem pathconf() code a little bit to make it easier | Matthew Dempsky | |
to diff against FreeBSD's. From Brad; no object file change on amd64. | |||
2012-04-10 | Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimit | Philip Guenthe | |
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@ | |||
2012-03-23 | Make rusage totals, itimers, and profile settings per-process instead | Philip Guenthe | |
of per-rthread. Handling of per-thread tick and runtime counters inspired by how FreeBSD does it. ok kettenis@ | |||
2012-03-10 | Add PS_EXITING to better differentiate between the process exiting and | Philip Guenthe | |
the main thread exiting. c.f. regress/sys/kern/main-thread-exited/ | |||
2012-02-20 | First steps for making ptrace work with rthreads: | Philip Guenthe | |
- 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@ | |||
2011-12-24 | Remove the ability to ptrace via procfs, as no one is using it, so fixing | Philip Guenthe | |
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@ | |||
2011-07-04 | move the specfs code to a place people can see it; ok guenther thib krw | Theo de Raadt | |
2011-07-04 | Fix another kqfilter return value. | Nicholas Marriott | |
ok deraadt | |||
2011-07-04 | Nuke the useless D_KQFILTER flag and just check that d_kqfilter is | Nicholas Marriott | |
filled in. Move D_CLONE down to 0x0001 as suggested by thib. ok deraadt thib | |||
2011-07-04 | bread does nothing with its ucred argument. remove it. ok matthew | Ted Unangst | |
2011-07-02 | kqueue attach functions should return an errno or 0, not a plain 1. Fix | Nicholas Marriott | |
the obvious cases to return EINVAL and ENXIO. ok tedu deraadt |