History log of /netbsd-src/lib/libpuffs/Makefile (Results 1 – 25 of 30)
Revision Date Author Comments
# c580d690 05-Sep-2023 mrg <mrg@NetBSD.org>

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.


# cb5396ad 31-Mar-2023 rillig <rillig@NetBSD.org>

libpuffs: ignore lint warning about nested extern for now

This should be properly fixed by someone familiar with puffs.


# b2baa501 28-Mar-2023 rillig <rillig@NetBSD.org>

lint: warn about extern declarations outside headers

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html


# 0585557a 22-Jan-2022 pho <pho@NetBSD.org>

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 cal

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.

show more ...


# ffeb8dbf 23-Jan-2016 christos <christos@NetBSD.org>

Define _KERNTYPES for things that need it.


# fa835e8c 21-Mar-2012 matt <matt@NetBSD.org>

These directories default to WARNS?=5


# 248168af 06-Dec-2010 pooka <pooka@NetBSD.org>

Remove PUFFS_WITH_THREADS ifdef garbage, just use libc weak symbols.


# 689551bf 05-Dec-2009 pooka <pooka@NetBSD.org>

Remove suspension support from here too.


# 61113f40 04-Dec-2007 pooka <pooka@NetBSD.org>

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

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.

show more ...


# edb40ac9 26-Oct-2007 pooka <pooka@NetBSD.org>

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

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.

show more ...


# d8a51055 18-Jul-2007 pooka <pooka@NetBSD.org>

get rid of DBG=


# 4147a3c5 28-May-2007 tls <tls@NetBSD.org>

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

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.

show more ...


# e9cad0ce 11-May-2007 pooka <pooka@NetBSD.org>

move puffs request dispatching code into it's own module.
no functional change


# bb0de0a8 05-May-2007 pooka <pooka@NetBSD.org>

add stubby version of puffs_framebuf manual page. proper one
forthcoming to an internet near you Real Soon Now(tm)


# b223c403 05-May-2007 pooka <pooka@NetBSD.org>

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 puff

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.

show more ...


# aaf5af07 16-Apr-2007 pooka <pooka@NetBSD.org>

Move file system and node callbacks into their own manual page.
Improve markup and descriptions a bit (not completely finished yet).


# 406a9464 22-Mar-2007 pooka <pooka@NetBSD.org>

document credentials & access control methods


# f4e2aba8 26-Jan-2007 pooka <pooka@NetBSD.org>

document puffs_fs_suspend()


# d83ed901 26-Jan-2007 pooka <pooka@NetBSD.org>

add interfaces for suspending the file system


# 2fbe1b22 20-Jan-2007 pooka <pooka@NetBSD.org>

document request handling routines


# 809ae5f8 19-Jan-2007 pooka <pooka@NetBSD.org>

Bring the documentation slightly more into sync with the current
reality. It's still really a far cry from proper documentation,
though.


# 05861b92 15-Jan-2007 pooka <pooka@NetBSD.org>

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
abs

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.

show more ...


# e639bec8 11-Jan-2007 pooka <pooka@NetBSD.org>

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

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.

show more ...


# 03a190dc 09-Jan-2007 pooka <pooka@NetBSD.org>

lib interface for invalidation routines


# 184a7d78 29-Dec-2006 pooka <pooka@NetBSD.org>

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 e

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

show more ...


12