NetBSD/lib/libpuffs
tls 4147a3c54a 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.
2007-05-28 12:06:17 +00:00
..
callcontext.c Step 3 and currently final step of a more general purpose event loop: 2007-05-15 13:44:46 +00:00
creds.c allow kernel creds in addition to superuser creds when checking for access 2007-03-22 17:15:34 +00:00
dispatcher.c default refcount to 1 in inactive 2007-05-18 18:01:55 +00:00
flush.c Instead of keeping on adding parameters to puffs_mount(), make it 2007-04-13 13:35:46 +00:00
framebuf.c Introduce puffs_framev_framebuf_ccpromote, which can be used to 2007-05-20 19:56:56 +00:00
Makefile Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
null.c Hide struct puffs_usermount from the rest of the world and provide 2007-04-12 15:09:00 +00:00
opdump.c initial support for cacheops 2007-03-20 10:22:22 +00:00
paths.c Introduce PUFFS_FLAG_HASHPATH, which for PUFFS_FLAG_BUILDPATH file servers 2007-05-01 15:58:00 +00:00
pnode.c Hide struct puffs_usermount from the rest of the world and provide 2007-04-12 15:09:00 +00:00
puffs_cc.3 Xr puffs_framebuf 2007-05-06 13:56:16 +00:00
puffs_cred.3 document credentials & access control methods 2007-03-22 17:38:09 +00:00
puffs_flush.3 struct puffs_usermoint does sound more lively, but be serious and 2007-05-17 13:31:30 +00:00
puffs_framebuf.3 Change the signature of puffs_respcmp to return -1,0,1 for smaller, 2007-05-20 16:24:37 +00:00
puffs_node.3 Bring the documentation slightly more into sync with the current 2007-01-19 21:10:55 +00:00
puffs_ops.3 document puffs_node_poll 2007-05-18 14:38:15 +00:00
puffs_path.3 Bring the documentation slightly more into sync with the current 2007-01-19 21:10:55 +00:00
puffs_priv.h Change the signature of puffs_respcmp to return -1,0,1 for smaller, 2007-05-20 16:24:37 +00:00
puffs_req.3 Remove the puffs_usermount argument from puffs_req_handle(). It can 2007-05-09 18:36:52 +00:00
puffs_suspend.3 Fix spellos. 2007-01-28 07:58:05 +00:00
puffs.3 reflect today's mount changes 2007-05-17 15:21:14 +00:00
puffs.c remember to put the results of the final operations (including unmount) 2007-05-21 08:30:49 +00:00
puffs.h Introduce puffs_framev_framebuf_ccpromote, which can be used to 2007-05-20 19:56:56 +00:00
puffsdump.h dump return values for operations 2007-02-18 17:36:48 +00:00
requests.c Step 2 of general-purpose eventloop: get rid of puffs_framebuf_eventloop(). 2007-05-11 21:27:13 +00:00
shlib_version
subr.c implement counterpart of vaccess() 2007-03-20 18:28:08 +00:00
suspend.c Instead of keeping on adding parameters to puffs_mount(), make it 2007-04-13 13:35:46 +00:00
TODO quick TODO-list. very incomplete 2007-05-19 12:03:30 +00:00