Commit Graph

47 Commits

Author SHA1 Message Date
rumble
6912898dc8 Add read-only support for SGI's Extent File System.
Reviewed by pooka@.
2007-06-29 23:30:16 +00:00
fvdl
79cc43c346 libssp is no more 2007-05-30 14:25:32 +00:00
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
lukem
8f20ed50e2 Add dumpfs & dumplfs to /rescue, as they may be useful during system
recovery.
2007-05-15 23:23:49 +00:00
lukem
a37dc4c07f Add: lfs_cleanerd
Suggested by Blair Sadewitz

Add: grep egrep fgrep zgrep zegrep zfgrep
Suggested by George Michaelson
2007-03-23 05:48:34 +00:00
dogcow
a1ad69aaeb add libprop to LIBS, as veriexecctl now needs it. 2006-11-29 08:41:49 +00:00
apb
67c362294a Revert the recent addition of /rescue/gkermit. There's some concern
that linking GPL code into /rescue is not a good idea.
2006-11-01 17:36:13 +00:00
apb
3d7d705c6f Add /rescue/gkermit. Discussed in tech-userlevel. 2006-11-01 13:22:32 +00:00
ghen
8ef6dfdf8c Add mount_tmpfs(8) to /rescue. Ok with christos. 2006-08-16 16:50:59 +00:00
ghen
787f1c4af1 Add ex(1) to /rescue. This won't add more than a few bytes to the crunchgen
binary since "ex" is just "vi -e" and vi(1) is already there.

Ok with hubertf and salo.
2006-08-15 14:14:35 +00:00
skrll
856be5d817 lmcctl has been replaced by lmcconfig. 2005-12-06 14:02:58 +00:00
christos
1441dfb39d put back tetris; by popular demand. 2005-09-23 00:29:51 +00:00
christos
55130020a8 PR/31370: Andreas Wiese: Remove tetris from rescue 2005-09-22 12:29:31 +00:00
xtraeme
cf10ca7b98 Add vnconfig(8). ok christos 2005-08-10 20:04:40 +00:00
lukem
335e2ccf58 add scan_ffs and veriexecctl to /rescue 2005-06-18 06:59:23 +00:00
lukem
dfee67134f Make fdisk(8) available on all platforms, since MS-DOS partitioning
is the de-facto standard for many removable media types.
2005-05-22 03:45:30 +00:00
lukem
6448c18465 Add /rescue/tetris.
When your system is fubared, this will help you relax.
2005-04-01 08:35:17 +00:00
lukem
368cef3ad7 cosmetic tweak 2005-01-13 03:50:08 +00:00
lukem
366ee6e76e improve MAKEVERBOSE support 2005-01-13 03:25:31 +00:00
lukem
83846d378c Restore the "liboverride" functionality because it's needed to correctly
implement rmcd(3) in the rescue tools.
2005-01-13 03:08:07 +00:00
lukem
734b40f62e Special-case the srcdirs for scp & ssh. 2005-01-10 13:04:04 +00:00
lukem
242baa62bd Add to /rescue: scp ssh slogin
(all without Kerberos support at this time)
2005-01-10 10:47:36 +00:00
lukem
44173303af MAKEVERBOSE support 2005-01-10 10:05:44 +00:00
lukem
e1375832e2 Provide /rescue/cgdconfig if ${MKCRYPTO} != "no" 2005-01-10 10:04:31 +00:00
lukem
c0cb06d9b5 Add: less (more), vi, chroot
Requested by Matthew Mondor in PR 26147
2005-01-10 09:51:33 +00:00
lukem
497e76847f Repeat after me: "test both cases before commit" 2005-01-10 04:00:50 +00:00
lukem
7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
tron
06838f8d94 Complete removal of "liboverride" to fix build problems. 2004-08-20 11:01:03 +00:00
christos
5c08ec31c6 Remove special handling for rcmd.o; not needed. 2004-08-19 23:12:15 +00:00
mrg
8ee13c5e05 no need to list gnu/usr.bin any more. 2004-04-01 14:41:09 +00:00
jdolecek
ca851523f4 add mount_smbfs 2004-03-21 15:11:21 +00:00
simonb
2ac2b77477 systrace needs libevent now. 2003-11-29 05:47:51 +00:00
lukem
31903eec7b Add installboot. Suggested by Curt Sampson. 2003-10-21 10:08:40 +00:00
tron
af78980474 Remove file "rescue.unstripped" in "cleandir" target. 2003-07-14 09:00:33 +00:00
lukem
adb7a5bf1c * Add ftp to /rescue.
* Implement liboverride.o to provide overrides of various libc functions.
  For now, compile a special version of rcmd(3) (et al) which uses
  /rescue/rcmd and /rescue/sh instead of the /bin variants.
  Other overrides may appear in the future.

Should fix [bin/21670] from Geoff Wing.
2003-05-26 09:46:47 +00:00
enami
98ebf57f57 Build mount_* individually, since mount and most of mount_* no longer
shares binary image.  Fixes PR#20553.
2003-03-03 02:09:18 +00:00
simonb
7176940e72 Enable MIPS now that crunchgen works again for this arch. 2003-01-29 11:32:45 +00:00
lukem
0ec638c2e6 set SMALLPROG=0 (it was implicit) 2002-10-17 01:49:18 +00:00
thorpej
7d588a758e * Move the rescue bits into their own file.
* In makeflist, skip rescue bits in arch's that don't yet support it
  (MIPS, currently, due to an objcopy-crunch bug).
2002-10-06 17:28:46 +00:00
thorpej
6f086f7ea1 Compare MACHINE_CPU and "mips" rather than MACHINE_ARCH and "mipseb" or
"mipsel".
2002-10-06 17:19:12 +00:00
lukem
e6a1674482 Don't build this on mipseb or mipsel, as crunchgen(1) doesn't work correctly
on those, no fix has been forthcoming, and users are getting antsy.

This allows "make build" to complete; "make release" will still fail in the
sets generation.  Maybe *that* will inspire a MIPS/toolchain guru to fix
crunchgen(1)...
2002-10-03 01:11:37 +00:00
lukem
2edd859626 Add chown and chgrp. Suggested by Geoff Wing in [bin/18393] 2002-09-24 06:37:55 +00:00
lukem
844f13b164 oops; typo. (thanks enami!) 2002-08-26 09:02:45 +00:00
lukem
cd906151fd don't install -sh as a link to sh. use ARGVLN to support -sh, -csh, and -ksh 2002-08-26 08:57:29 +00:00
lukem
fe84c3ffb2 support -sh as a synonym for sh 2002-08-24 00:51:12 +00:00
lukem
59cfca9978 set CRUNCHENV= RESCUE=/rescue (still don't want SMALLPROG) 2002-08-23 03:25:21 +00:00
lukem
8290f52368 Migrate rescue tools from distrib/rescue -> rescue. Purpose of tools:
Infrastructure to build a set of "rescue" tools; a crunched-up
	version of all the statically linked binaries in /bin, /sbin
	and the few in /usr/bin.
2002-08-22 01:23:46 +00:00