| History log of /src/lib/libpuffs/Makefile |
| Revision | | Date | Author | Comments |
| 1.30 |
| 05-Sep-2023 |
mrg | apply -Wno-dangling-pointer to callcontext.c.
puffs_cc_getcc() uses a mask against a stack variable to find the struct puffs_cc stashed below the stack, triggering the dangling pointer problem.
|
| 1.29 |
| 31-Mar-2023 |
rillig | libpuffs: ignore lint warning about nested extern for now
This should be properly fixed by someone familiar with puffs.
|
| 1.28 |
| 28-Mar-2023 |
rillig | lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
|
| 1.27 |
| 22-Jan-2022 |
pho | Allow calling puffs_mount(3) before puffs_daemon(3)
puffs_daemon(3) creates a pipe before forking, and the parent process waits for the child to either complete puffs_mount(3) or fail. If a user calls puffs_daemon(3) after puffs_mount(3), the function deadlocks. While this error-reporting functionality is really a nice thing to have, deadlocking is not great. If the filesystem has already been mounted, puffs_mount(3) should just daemonize the process and return.
This became an issue because fuse_daemonize(3) in FUSE API had no such requirement and some FUSE filesystems in the wild suffered deadlocks.
|
| 1.26 |
| 23-Jan-2016 |
christos | Define _KERNTYPES for things that need it.
|
| 1.25 |
| 21-Mar-2012 |
matt | These directories default to WARNS?=5
|
| 1.24 |
| 06-Dec-2010 |
pooka | branches: 1.24.6; Remove PUFFS_WITH_THREADS ifdef garbage, just use libc weak symbols.
|
| 1.23 |
| 05-Dec-2009 |
pooka | Remove suspension support from here too.
|
| 1.22 |
| 04-Dec-2007 |
pooka | Part 3/n of extensive changes to message handling:
Get rid of the original puffs_req(3) framework and use puffs_framebuf(3) instead for file system requests. It has the advantage of being suitable for transporting a distributed message passing protocol and therefore us being able to run the file system server on any host.
Ok, puffs is not quite here yet: libpuffs needs to grow request routing support and the message contents need to be munged into a host independent format. Saying which format would be telling, but it might begin with an X, end in an L and have the 13th character in the middle. Keep an eye out for the sequels: Parts 3+m/n.
|
| 1.21 |
| 26-Oct-2007 |
pooka | Add some very initial support for a threading worker model as an alternative to the (vastly superior ;) continuation model. This is very preliminary stuff and not compiled by default (which it even won't do without some other patches I cannot commit yet).
The raison d'commit of the patch is a snippet which ensures proper in-order dispatching of all operations, including those which don't require a response. Previously many of them would be dispatched simultaneosly, e.g. fsync and reclaim on the same node, which obviously isn't all that nice for correct operation.
|
| 1.20 |
| 18-Jul-2007 |
pooka | branches: 1.20.4; 1.20.6; get rid of DBG=
|
| 1.19 |
| 28-May-2007 |
tls | Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
| 1.18 |
| 11-May-2007 |
pooka | move puffs request dispatching code into it's own module. no functional change
|
| 1.17 |
| 05-May-2007 |
pooka | add stubby version of puffs_framebuf manual page. proper one forthcoming to an internet near you Real Soon Now(tm)
|
| 1.16 |
| 05-May-2007 |
pooka | Add puffs "frame buffers", which are an abstraction of the buffering and event handling mechanisms required in file servers with blocking I/O backends. puffs_framebuf is built on the concept of puffs_cc and uses those to multiplex execution where needed.
File systems are required to implement three methods: * read frame * write frame * compare if frame is a response to the given one
Memory management is provided by puffs_framebuf, but the file systems must still, of course, interpret the protocol and do e.g. byte order conversion.
As always, puffs_framebuf is work in progress. Current users are mount_psshfs and mount_9p.
|
| 1.15 |
| 16-Apr-2007 |
pooka | Move file system and node callbacks into their own manual page. Improve markup and descriptions a bit (not completely finished yet).
|
| 1.14 |
| 22-Mar-2007 |
pooka | document credentials & access control methods
|
| 1.13 |
| 26-Jan-2007 |
pooka | document puffs_fs_suspend()
|
| 1.12 |
| 26-Jan-2007 |
pooka | add interfaces for suspending the file system
|
| 1.11 |
| 20-Jan-2007 |
pooka | document request handling routines
|
| 1.10 |
| 19-Jan-2007 |
pooka | Bring the documentation slightly more into sync with the current reality. It's still really a far cry from proper documentation, though.
|
| 1.9 |
| 15-Jan-2007 |
pooka | Checkpoint some more work in progress: for the benefit those file system backends which operate purely based on paths, push out more path management into the library and make path management more abstract: enable a file system to define a bunch of path management callbacks, which are used by the framework. Management of normal /this/is/a/path type paths is provided by the library.
|
| 1.8 |
| 11-Jan-2007 |
pooka | Add preliminary code for a nullfs layer, which can be used to mount a directory hierarchy to another point, just like with the kernel nullfs. This is not really a layering scheme yet, but it should evolve into one. Currently it can just be used to do 1:1 mapping.
|
| 1.7 |
| 09-Jan-2007 |
pooka | lib interface for invalidation routines
|
| 1.6 |
| 29-Dec-2006 |
pooka | checkpoint some experimental work-in-progress, namely:
Add support for having multiple outstanding operations. This is done by exposing enough interfaces so that it is convenient to have the main event loop in the implementation itself and by providing a continuation framework for convinient blocking and rescheduling.
works fine, but will undergo further cleanup & development
|
| 1.5 |
| 07-Dec-2006 |
pooka | outline & export code for interfacing with kernel GET/PUT requests
|
| 1.4 |
| 09-Nov-2006 |
pooka | initial documentation for the puffs library interface
|
| 1.3 |
| 23-Oct-2006 |
christos | pass lint; fix install.
|
| 1.2 |
| 22-Oct-2006 |
dogcow | add the .include <bsd.own.mk>, so .d and .o files don't end up in the CWD. remove INCDIR=/usr/include, as my leenooks system doesn't have puffs .h files.
|
| 1.1 |
| 22-Oct-2006 |
pooka | add libpuffs - the userspace programming interface for puffs
This work was initially started and completed for Google SoC 2005 and tweaked to work a bit better in the past few weeks. While being far from complete, it is functional enough to be able and stable to host a fairly general-purpose in-memory file system in userspace. Even so, puffs should be considered experimental and no binary compatibility for interfaces or crash-freedom or zero security implications should be relied upon just yet.
The GSoC project was mentored by William Studenmund and the final review for the code was done by Christos.
|
| 1.20.6.2 |
| 18-Jul-2007 |
pooka | get rid of DBG=
|
| 1.20.6.1 |
| 18-Jul-2007 |
pooka | file Makefile was added on branch matt-mips64 on 2007-07-18 22:38:59 +0000
|
| 1.20.4.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.20.4.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
| 1.24.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|