CVS log for src/lib/libpuffs/Makefile
Up to [cvs.NetBSD.org] / src / lib / libpuffs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:12:14 2023 UTC (15 months, 1 week ago) by mrg
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -1
lines
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.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Mar 31 04:51:32 2023 UTC (20 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
libpuffs: ignore lint warning about nested extern for now
This should be properly fixed by someone familiar with puffs.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Mar 28 14:44:34 2023 UTC (20 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 22 07:35:26 2022 UTC (2 years, 10 months ago) by pho
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2
lines
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.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 23 21:22:46 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1
lines
Define _KERNTYPES for things that need it.
Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:31 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3
lines
sync with head
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Mar 21 05:37:43 2012 UTC (12 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
agc-symver-base,
agc-symver
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
These directories default to WARNS?=5
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 6 14:50:34 2010 UTC (14 years ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -6
lines
Remove PUFFS_WITH_THREADS ifdef garbage, just use libc weak symbols.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 5 12:13:08 2009 UTC (15 years ago) by pooka
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -3
lines
Remove suspension support from here too.
Revision 1.20.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:36:43 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.20.4.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.4.1: +2 -2
lines
sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Dec 4 21:24:10 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
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.
Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:50 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -1
lines
sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Oct 26 17:35:01 2007 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -1
lines
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.
Revision 1.20.6.2: download - view: text, markup, annotated - select for diffs
Wed Jul 18 22:38:59 2007 UTC (17 years, 4 months ago) by pooka
Branches: matt-mips64
Diff to: previous 1.20.6.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.6.1: +21 -0
lines
get rid of DBG=
Revision 1.20.6.1
Wed Jul 18 22:38:58 2007 UTC (17 years, 4 months ago) by pooka
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.20: +0 -21
lines
file Makefile was added on branch matt-mips64 on 2007-07-18 22:38:59 +0000
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Jul 18 22:38:58 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-base,
hpcarm-cleanup
Branch point for: matt-mips64,
matt-armv6
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -2
lines
get rid of DBG=
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon May 28 12:06:20 2007 UTC (17 years, 6 months ago) by tls
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1
lines
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.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri May 11 21:42:42 2007 UTC (17 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -3
lines
move puffs request dispatching code into it's own module.
no functional change
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat May 5 16:09:16 2007 UTC (17 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
add stubby version of puffs_framebuf manual page. proper one
forthcoming to an internet near you Real Soon Now(tm)
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat May 5 15:48:18 2007 UTC (17 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
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.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Apr 16 19:16:02 2007 UTC (17 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2
lines
Move file system and node callbacks into their own manual page.
Improve markup and descriptions a bit (not completely finished yet).
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 22 17:38:09 2007 UTC (17 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
document credentials & access control methods
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jan 26 23:55:27 2007 UTC (17 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
document puffs_fs_suspend()
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jan 26 23:00:33 2007 UTC (17 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
add interfaces for suspending the file system
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 20 15:09:34 2007 UTC (17 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2
lines
document request handling routines
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jan 19 21:10:55 2007 UTC (17 years, 10 months ago) by pooka
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2
lines
Bring the documentation slightly more into sync with the current
reality. It's still really a far cry from proper documentation,
though.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 15 00:39:02 2007 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
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.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jan 11 01:01:55 2007 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
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.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 9 18:15:08 2007 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2
lines
lib interface for invalidation routines
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Dec 29 15:28:11 2006 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2
lines
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
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 7 23:15:20 2006 UTC (18 years ago) by pooka
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
outline & export code for interfacing with kernel GET/PUT requests
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 9 01:30:15 2006 UTC (18 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
initial documentation for the puffs library interface
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Oct 23 00:22:24 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1
lines
pass lint; fix install.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Oct 22 23:51:37 2006 UTC (18 years, 1 month ago) by dogcow
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
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.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 22:52:21 2006 UTC (18 years, 1 month ago) by pooka
Branches: MAIN
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.
CVSweb <webmaster@jp.NetBSD.org>