Commit Graph

86349 Commits

Author SHA1 Message Date
chs
f013b5beb1 fix pmap_changebit() to look for the bit in the page attrs
in addition to any PTEs.  fixes PR 14197.
2001-10-13 06:18:36 +00:00
jmc
94a3b27f46 Replace crunchgen with 2001-10-13 06:16:13 +00:00
jmc
a37907dc27 Add MTREE?= to add Makefiles and use when running mtree 2001-10-13 06:15:15 +00:00
jmc
1ea83aa531 Add crunchgen, msgc and menuc 2001-10-13 06:11:06 +00:00
jmc
8a8f936f25 Add msgc as a hosted tool 2001-10-13 06:10:52 +00:00
jmc
96d288e3b5 Add menuc as a hosted tool 2001-10-13 06:10:32 +00:00
jmc
12d4fcbae6 Add crunchgen as a hosted tool 2001-10-13 06:10:09 +00:00
jmc
b8b456e6f9 Add install.files rule. Tools with support files can use HOSTFILES and
HOST_FILESDIR to install support files (just like bsd.files.mk normally
would be doing.
2001-10-13 06:09:25 +00:00
jmc
c55dbe210b Add MTREE var definition to list for sys.mk 2001-10-13 06:06:55 +00:00
uwe
a291eed4cc Fix SIGNEX macro: sizeof is in bytes, not bits. 2001-10-13 00:41:49 +00:00
pooka
a809d8b762 Make "[EXPERIMENTAL]" in NTFS consistent with other experimental filesystems 2001-10-13 00:15:53 +00:00
nathanw
7f59122d03 Use @true instead of @${TRUE} in includes-foo targets, since there is no
variable TRUE defined in our makefile system.

This prevents "make includes" from breaking with older bsd.subdir.mk, and is
more consistent with the uses of "true" in the rest of the tree.
2001-10-12 21:05:08 +00:00
atatat
04fb6977ef Install the shell script instead of the perl script 2001-10-12 16:19:30 +00:00
atatat
c9281cb7dd Bye bye, perl script. 2001-10-12 16:19:05 +00:00
atatat
149865a4d7 Remove the perl script from the mount_portal example for cvs and
replace it with a regular sh script.
2001-10-12 16:15:26 +00:00
haya
727e8d4a04 Bugfix: re-order double buffer only when second buffer exists. 2001-10-12 09:27:23 +00:00
enami
de085459c1 Fix printf format. 2001-10-12 07:30:23 +00:00
lukem
9ecbd30d67 add /var/named/* 2001-10-12 07:29:36 +00:00
lukem
1f0b1f323c s,/var/named,/var/chroot/named, 2001-10-12 07:27:33 +00:00
lukem
96a1608ee4 Major overhaul, with help from Andrew Brown <atatat@netbsd.org>.
Features:
- Add a bunch of stuff to /etc/mtree/special to enable removal of
  /etc/changelist:
	- files which we want to monitor for changes but don't want to
	  see the diffs of (master.passwd, ssh_host_key, ...) are
	  tagged with "nomail"
	- files which we don't want to monitor are tagged with "exclude"
	  (such as netgroup.db, kvm.db, ...)
	- monitor /etc/mtree/special.local, /root/.ssh/*
	- remove /etc/changelist, and a bunch of XXX comments
	- use mtree(8)'s -D, -I, and -E to generate lists of files to
	  actually do the changelist stuff on.
	- support /etc/mtree/special.local as an optional user-provided
	  version of /etc/mtree/special (effectively, an enhanced
	  /etc/changelist)
- Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/*
  including support for these files being added and removed at will.
- If /sbin/fdisk exists, backup the output of "fdisk $disk" for all
  the active disk drives as part of $check_disklabels
- Check permissions on: ~/.ssh/* ~/.shosts

Details:
- Reorder initialisation of defaults
- Remove special case for /etc/master.passwd "monitor but don't email diffs"
  with general case for other similar files.
- Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...)
  in "$backup_dir/work", to minimise name clashes.
- Add migrate_file(old, new) to do the hard work of migrating files
  from the old `top level' /var/backups mechanism to the `full path'
  mechanism recently added. Use this appropriately.
- Add backup_and_diff(file, printdiffs), to the hard work of backing-up
  and diff-ing files.
- Cleanup use of shell redirects
- /bin/sh supports ~root globbing, so use it.
- Improve umask checking; use awk regex rather than awk math
2001-10-12 05:18:23 +00:00
atatat
38aae27853 Add new mount_portal cvs examples 2001-10-11 20:25:12 +00:00
atatat
9305145646 Add another example that shows how to map a cvs server into your local
file system so that you can pull random files out of it easily.
2001-10-11 18:41:11 +00:00
kristerw
031a62292d Run the entries in __CTOR_LIST__ and __DTOR_LIST__ in the order gcc expect. 2001-10-11 18:02:28 +00:00
christos
bebeebd8aa if -a is not given, we need to walk the filesystem list to check the
flags in order to get the correct count (from enami)
2001-10-11 16:31:33 +00:00
christos
bfe76ac87a Allow userland to pass MNT_IGNORE (from enami) 2001-10-11 16:27:24 +00:00
pooka
3518dc8ed0 * fix thinko in mace_print() to prevent intr with value MACECF_INTR_DEFAULT
from getting printed
* fetch device name from dv_xname instead of using hardcoded value
2001-10-11 15:17:42 +00:00
tsutsui
9ed721dc0a hp300 now uses dev/clock_subr.c. 2001-10-11 15:04:44 +00:00
tsutsui
0c3fd1cf03 Cleanup TOD clock functions:
- Adapt MI functions/structures in sys/dev/clock_subr.[ch]
 - Fix year-2001 problem

XXX Maybe TOD clock should be attached as an independent device.
2001-10-11 15:02:07 +00:00
tron
eea6d83f4b Regen. 2001-10-11 14:31:58 +00:00
tron
fa5ea802e9 Add host bridge of the SiS 735 chipset. 2001-10-11 14:30:21 +00:00
tsutsui
2853ff9bb9 space -> TAB 2001-10-11 14:01:36 +00:00
augustss
9ba9477c1a Regen. 2001-10-11 12:05:39 +00:00
augustss
9ec0bc09c1 Add Epson 1650. 2001-10-11 12:05:10 +00:00
enami
802d6b10df KNF. 2001-10-11 09:23:31 +00:00
lukem
01c63bc35a - add "ntpd" user (homedir: /var/chroot/ntpd) and "ntpd" group, for use by
future work to support a chroot(8)ed ntpd
- move /var/named -> /var/chroot/named for consistency with ntpd
2001-10-11 07:21:07 +00:00
lukem
f28a27bd16 if named_chrootdir is set, always repoint the /var/run/named.pid and
/var/run/ndc symlinks, because named_chrootdir might change between
restarts and the symlinks weren't getting updated correctly in the old code.
2001-10-11 07:10:08 +00:00
leo
13a1055e2f Second pass of the bootloader reworking. Everything works from the
TOS/MiNT side now.
2001-10-11 07:07:41 +00:00
lukem
c3e7e8005a oops, got chflags() error checking around the wrong way 2001-10-11 04:27:30 +00:00
briggs
155a79e9a1 Add include dev/wsfont/files.wsfont 2001-10-11 04:14:45 +00:00
mason
8d31b83457 More elegant method of previous change. Thanks to James Chacon for pointing
out my think-o.
2001-10-11 03:56:43 +00:00
briggs
0ac571b1e5 include dev/wsfont/files.wsfont 2001-10-11 03:52:13 +00:00
mason
058f064635 It appears to be the case that ${COMPILEETOBJ}/compile_et, which is used in
the USETOOLS=no and !defined(USETOOLS) cases, is not guaranteed to exist.
However, the current functionality overrides any potentially correct
hand-set definition of COMPILE_ET, causing build breakage.

Now the line setting COMPILE_ET only happens if COMPILE_ET is not already
set, like so:

.if !defined(COMPILE_ET)
COMPILE_ET=     ${COMPILEETOBJ}/compile_et
.endif
2001-10-11 03:39:02 +00:00
lukem
c32ec6cb78 - Implement "-M log", which appends the metadata associated with the
installed file or directory to `log'. This is primarily designed
  to be used in conjunction with -U, but that's not mandatory.
  Provide metadata_log() to do the hard work. The log file is opened
  for append at the start, and flock(LOCK_EX) is used to prevent
  interleaved output (from multiple concurrent install(8) operations).
- Improve parsing of owner and groups (e.g., strtoul() instead of atoi()),
  and don't rely upon uid==-1 to indicate "no owner"; use a flag instead.
- Make fileflags a global variable; uid, gid, and mode are, so lets be
  consistent...
- Improve -U (unpriv); work on file flags as well, and only try to change
  the file flags after the temporary file is renamed (since certain flags
  will prevent the rename from working).
2001-10-11 02:06:32 +00:00
jwise
5afee0c76e Do not descend into `tools' on make clean{dir,} if USETOOLS=no, as doing
so without TOOLDIR set will blow up.
2001-10-10 17:20:15 +00:00
christos
4c947455fc add magic.mime.mgc 2001-10-10 16:57:44 +00:00
christos
9220b490d0 Install magic.mime.mgc too. 2001-10-10 16:56:27 +00:00
yamt
01f308933f - use IP_MAXPACKET instead of 65535.
- change max packet size from 65468 to 65467(= IP_MAXPACKET-60-8).
2001-10-10 15:58:04 +00:00
leo
d6d66d6664 Check-point my work on the bootcode. 2001-10-10 14:19:49 +00:00
pooka
e45292cb5e panic in cpu_initclocks() if clock device is not attached 2001-10-10 13:24:47 +00:00
mrg
711d4aecaa enable aout lkm on sparc & i386 2001-10-10 12:48:49 +00:00