Commit Graph

9717 Commits

Author SHA1 Message Date
joerg 879c335754 Don't assign CFLAGS. Use default WARNS from usr.sbin/Makefile.inc. 2010-12-18 04:25:37 +00:00
rmind 628e094cdc NPF checkpoint:
- Add support for session saving/restoring.
- Add packet logging support (can tcpdump a pseudo-interface).
- Support reload without flushing of sessions; rework some locking.
- Revisit session mangement, replace linking with npf_sentry_t entries.
- Add some counters for statistics, using percpu(9).
- Add IP_DF flag cleansing.
- Fix various bugs; misc clean-up.
2010-12-18 01:07:25 +00:00
njoly 29263bd796 Add _tcpdump uid/gid checks. 2010-12-17 22:56:22 +00:00
jruoho 27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
wiz 3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
pgoyette 120c01c6d1 When skipping output for a temperature of absolute zero, don't forget to
skip past the display columns that the value would otherwise occupy.

Fixes display issue when swsensor(4) is used and it has a value of 0K,
as reported by njoly@
2010-12-16 14:37:23 +00:00
wiz 8d07e89e04 Merge single-letter options in SYNOPSIS. 2010-12-15 18:11:01 +00:00
pgoyette 5702902fe1 Add an option to not actually run the power management scripts, and
when in debug mode send all error messages to stderr rather than to
syslog(8).
2010-12-15 17:12:40 +00:00
cegger 473a16d6eb beautify printing of SVM features across multiple lines 2010-12-15 17:09:07 +00:00
pooka a7c3e616ee RLIMIT_NOFILE stabilized in NetBSD 17 years ago, so it's safe now
to remove the #ifdef's from around code which uses it.
2010-12-15 15:36:15 +00:00
pooka d84441777f Don't need prog_ioctl here, it's a leftover of the previous approach.
pointed out by Paul Goyette
2010-12-15 15:07:54 +00:00
pooka 7d769f0a0f Nuke conditionally compiled MULOG stuff. Itojun wanted to do it
already 8 years ago when he fixed the compilation last time, and
again it hasn't been buildable in years.
2010-12-15 13:13:28 +00:00
pooka 3b00d9689f Use RUMPPRG. I think it's safe to say there's not going to be a
new upstream version of traceroute to import.

AS# lookup is still done using host networking.  Rationale: the
relevance to where that data comes from with respect to network
tracing is zero (be it socket, local file, db, whatever).
2010-12-15 00:09:41 +00:00
christos e64c554fe8 fix uninitialized variable by elimination. 2010-12-14 21:32:43 +00:00
pooka 57ec646236 Use a consistent approach for rump kernel calls made by libs.
Should investigate a dynamic approach in the future.
2010-12-14 08:04:14 +00:00
christos 89d498aa24 moved to external 2010-12-14 03:07:07 +00:00
joerg 674a655551 Prefix ctype bitmask macros with _CTYPE 2010-12-14 02:28:57 +00:00
pooka 3d4766ce57 RUMP_ACTION -> RUMPPRG 2010-12-13 18:00:38 +00:00
christos fc494df71d - no casts for malloc and free
- malloc(type) -> malloc(*value)
- malloc+strcpy -> strdup
2010-12-13 16:52:53 +00:00
cegger 10cb97e079 PR bin/44230: Missing close. 2010-12-13 11:51:23 +00:00
christos 976857bd1b fix build. 2010-12-13 01:44:25 +00:00
christos 38a17f8f2b fix possibly uninitialized variable 2010-12-13 01:25:19 +00:00
christos dc449ddee1 use new tcpdump. 2010-12-12 18:50:31 +00:00
christos 14db3bb9d8 - no cast for malloc
- malloc + memset = calloc
- sizeof(type) -> sizeof(*var)
- small indents
2010-12-09 00:10:59 +00:00
wiz 99b0b43bfa Add all options to usage. 2010-12-08 09:43:28 +00:00
wiz 0b2ab2c48b Add all options to SYNOPSIS. New sentence, new line. Some rewording.
Use more macros.
2010-12-08 09:43:22 +00:00
kefren 6d46555eb8 Remove accidentally added file 2010-12-08 07:34:08 +00:00
kefren e7341ada4c Add ldpd, a RFC 3036 compatible LDP speaker. 2010-12-08 07:20:14 +00:00
pooka 39f08af21d mirror change of -lrumpcrypto ==> -lrumpkern_crypto 2010-12-05 20:13:26 +00:00
christos 185f0723f8 unhook tcpdump 2010-12-05 05:59:17 +00:00
njoly aab4946261 Adjust obsolete_libs to handle both the libraries (unchanged) and the
corresponding .debug files if exists.
2010-11-30 14:35:38 +00:00
plunky 5cf7cee741 don't try to imitate the kernel while doing a reset, just
set the init flags and poll until they are cleared
2010-11-28 20:37:24 +00:00
christos 2579358a05 KNF, pass lint. 2010-11-26 18:58:43 +00:00
plunky 52ea709089 update for ioctl improvements
- use SIOCGBTFEAT to recover device features rather than
  querying the device
- print also the max ACL/SCO buffers
2010-11-22 20:02:06 +00:00
pooka b4c2ac23fe regen 2010-11-22 07:56:54 +00:00
pooka c21dcb457e include script rcsid in generated file
(no change to rendered output)
2010-11-22 07:56:31 +00:00
pooka 7cd2722c7b these files are no longer autogenerated, so remove them 2010-11-22 01:09:34 +00:00
pooka a0afe062df regen 2010-11-22 01:08:23 +00:00
pooka 5e0d1e96f8 Generate different manpages for 1) disk 2) net 3) fictional file systems. 2010-11-22 01:07:51 +00:00
christos 30b8bfbace - don't bitch if /usr/X11R6/lib/X11 does not exist, if /usr/X11R6 does not
exist either. We might have never installed X11R6 on this system.
- spell nonexistent
2010-11-21 22:50:37 +00:00
jym d0e5481abd Sort options. 2010-11-21 21:07:46 +00:00
pooka 76f518f570 regen 2010-11-21 19:32:16 +00:00
pooka 41308443e5 * document disk.img%DISKLABEL:p%
* tweaks
2010-11-21 19:29:01 +00:00
tsutsui 41610f52e9 cd9960 -> cd9660 2010-11-19 15:47:32 +00:00
rmind 97b932f123 NPF checkpoint:
- Add proper TCP state tracking as described in Guido van Rooij paper,
  plus handle TCP Window Scaling option.
- Completely rework npf_cache_t, reduce granularity, simplify code.
- Add npf_addr_t as an abstraction, amend session handling code, as well
  as NAT code et al, to use it.  Now design is prepared for IPv6 support.
- Handle IPv4 fragments i.e. perform packet reassembly.
- Add support for IPv4 ID randomization and minimum TTL enforcement.
- Add support for TCP MSS "clamping".
- Random bits for IPv6.  Various fixes and clean-up.
2010-11-11 06:30:39 +00:00
christos d7b55f9d71 PR/44077: Dr. Wolfgang Stukenbrock: redundant xdr_passwd implementation should
be removed, and the one from -lrpcsvc should be used.
2010-11-10 18:56:17 +00:00
njoly 9220c212a8 Add _atf to uid/gid checks. 2010-11-08 09:01:44 +00:00
wiz 8f582fbe68 Sort options in SYNOPSIS. 2010-11-07 11:49:21 +00:00
uebayasi 4cca618331 Handle md(4)'s embedded root disk image and size symbol names other
than the default ones ("md_root_image" / "md_root_size").

(References to xmd(4) are deliberately removed.)
2010-11-06 16:03:23 +00:00
pooka 7d1c54af24 adapt to new rumpclient_init() signature 2010-11-05 13:52:41 +00:00
pooka 1ec3731938 support rump client mode 2010-11-05 13:42:37 +00:00
pooka 080506bc5d Make error message more userfriendly in cases where server does
not support sftp.
2010-10-29 16:13:51 +00:00
christos 2ec6e0f18a Handle > 2GB images. Thanks to Greg Troxel for testing! 2010-10-27 18:51:34 +00:00
christos 203850f0b2 - simple fseek->fseeko conversion. probably needs more work.
- use a constant instead of sprinkling 2048 everywhere.
2010-10-22 00:49:15 +00:00
christos aeccdbb591 improve error handling and logging. 2010-10-20 17:05:54 +00:00
plunky b40385c1f1 move debug output before the loop, which possibly changes the value of fd 2010-10-18 20:43:23 +00:00
uebayasi 5b00191068 Typo in an error message. 2010-10-17 16:13:56 +00:00
plunky 5b17090754 be more explicit 2010-10-17 12:45:28 +00:00
wiz 8a0067feb7 Sort sections, use serial comma. 2010-10-12 21:49:08 +00:00
plunky b6cf5bddb1 some extra information about "page timeout" option 2010-10-11 15:37:55 +00:00
plunky 2cf0f09d1d add a reference in the SEE ALSO section to "The NetBSD Guide" for
detailed examples of device configuration
2010-10-11 15:30:57 +00:00
manu f4f951a0c1 Remove code supporting SOCK_STREAM, as SOCK_DGRAM works fine 2010-10-11 05:37:58 +00:00
manu 160a586559 Interm hack raising buffers for /dev/fuse socket used in the filesystem.
This works around read(2) system callsfailing with ENOBUFS.

This is a hack bedause there is no way to know that 4 * FUSE_BUFSIZE
will be enough to hold queued FUSE frames. It seems good enough at
mine.
2010-10-11 01:12:25 +00:00
christos b2af84a88a bump PROTOMAX 2010-10-07 01:28:50 +00:00
njoly 830a6e0073 Add option k to synopsis. 2010-10-05 10:03:53 +00:00
pgoyette 87b1c2cb4e Apply proper conversion (which is _no_ conversion) when setting limit
values for sensors of type ENVSYS_INTEGER.
2010-10-05 05:03:49 +00:00
pgoyette 58f7870b48 Some Integer-type sensors can have limits, so allow them to be displayed. 2010-10-05 00:14:55 +00:00
manu bcf6f2f32a == file close operations ==
- use PUFFS_KFLAG_WTCACHE to puffs_init so that all writes are
immediatly send to the filesystem, and we do not have anymore write
after inactive. As a consequence, we can close files at inactive
stage, and there is not any concern left with files opened at
create time. We also do not have anymore to open ourselves in readdir and
fsync.

- Fsync on close (inactive stage). That makes sure we will not need to
do these operations once the file is closed (FUSE want an open file).
short sircuit the request that come after the close, bu not fsinc'ing
closed files,

- Use PUFFS_KFLAG_IAONDEMAND to get less inactive calls

== Removed nodes ==
- more ENOENT retunred for operations on removed node (but there
are probably some still missing): getattr, ooen, setattr, fsync

- set PND_REMOVE before sending the UNLINK/RMDIR operations so that we avoid
races during UNLINK completion. Also set PND_REMOVED on node we overwirte
in rename

== Filehandle fixes ==
- queue open operation to avoid getting two fh for one file

- set FH in getattr, if the file is open

- Just requires a read FH for fsyncdir, as we always opendir in read
mode. Ok, this is misleading :-)

== Misc ==
- do not set FUSE_FATTR_ATIME_NOW in setattr, as we provide the time

- short circuit nilpotent operations in setattr

- add a filename diagnostic flag to dump file names
2010-09-23 16:02:34 +00:00
manu 7ba588b3fb - Add debug santity checks
- Do not request peer creds anymore once we have them.
2010-09-20 06:45:38 +00:00
rmind 63012b51f1 NPF checkpoint:
- Add support for bi-directional NAT and redirection / port forwarding.
- Finish filtering on ICMP type/code and add filtering on TCP flags.
- Add support for TCP reset (RST) or ICMP destination unreachable on block.
- Fix a bunch of bugs; misc cleanup.
2010-09-16 04:53:27 +00:00
manu e9a8a6acc0 - Use SOCK_DGRAM instead of SOCK_STREAM, as the filesystem seems to
assume datagram semantics: when using SOCK_STREAM, if perfused sends
frames faster than the filesystem consumes them, it will grab multiple
frames at once and discard anything beyond the first one. For now the
code can work both with SOCK_DGRAM and SOCK_STREAM, but SOCK_STREAM
support will probably have to be removed for the sake of readability.

- Remeber to sync parent directories when moving a node

- In debug output, display the requeue type (readdir, write, etc...)
2010-09-15 01:51:43 +00:00
kim cd552cca7d Fix remaining references for npf.conf(8) to npf.conf(5) 2010-09-14 11:04:57 +00:00
manu 1e672db8d2 - Do not checkfor peer credentials when perfused is autostarted and
therefore runs with filesystem privileges

- shut up warnings and debug messages when perfused is autostarted

- make perfused patch modifiable with CFLAGS for easier pkgsrc integration

- Fix build warnings
2010-09-07 02:11:04 +00:00
wiz 95b8a1f9e8 Fix some typos in messages. Make usage match manpage. 2010-09-06 13:15:29 +00:00
manu 5536686b23 More LP64 fixes 2010-09-06 01:40:24 +00:00
manu ef7e1877ae Build fixes for LP64 2010-09-01 14:57:24 +00:00
dholland 2b2d4bc113 On LP64 platforms, uid_t is not the same size as u_long, so the key
comparison function being given to db was comparing 4 extra bytes of
rubbish.

This may or may not be the *only* source of the corrupted
/var/account/usracct files I've been seeing occasionally on amd64, but
it's clearly *a* source.
2010-08-30 02:49:17 +00:00
joerg c1e0a5bd50 Replace the current usage of Elf64_Half with Elf64_Word and rename
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility
with the common ELF specifications.
2010-08-28 21:30:02 +00:00
kardel 925a7aaa61 unhook ntp 4.2.4 reachover build 2010-08-28 15:45:48 +00:00
wiz cd9eb5b6d8 Various fixes and improvements. 2010-08-27 18:12:51 +00:00
manu 1326029781 - if perfused is not already started (cannot connect to /dev/fuse),
FUSE filesystems will attempt to start it on their own, and will
communicate using a socketpair

- do not advertise NULL file handle as being valid when sending themback to the FUSE filesystem.

- unmount if we cannot talk to the FUSE process anymore

- set calling process gid properly

- debug message cleanup
2010-08-27 09:58:17 +00:00
christos fdda333719 bye old wpa. 2010-08-26 14:58:29 +00:00
manu 516b1c9016 - open the file before doing fsync: glusterfs wants that.
- Automatically call fsync on close for files. If we just close, fsync
will come later and we will have to reopen

- Add a PND_DIRTY flag to keep track of files that really need a sync.
perfuse_node_fsync only calls the FUSE fsync method if there are data
to push.

- Add a PND_OPEN flag to keep track of open files. Checking non NULL
fh is not enough, as some filesystems will always set fh to 0.

- Add a sync diagnostic flag, to watch fsync and dirty flag activity.
Make the fh diagnostic flag more verbose

- Send the fh in setattr (it was hardcoded to 0)

I am now able to build libperfuse in a glusterfs mounted filesystem. Yeah!
2010-08-26 13:29:01 +00:00
cegger 3cc4951138 show crom:
Print calculated crc. When crc does not match then print expected crc.
2010-08-26 07:04:04 +00:00
jruoho d439ff278b Use <paths.h>. Remove trailing white space. 2010-08-26 05:25:57 +00:00
manu a18d4c5a69 perfused(8) creates a /dev/fuse socket and performs PUFFS to FUSE relaying.
This is still a work in progress.
2010-08-25 07:18:01 +00:00
rmind 3b6fdb92e5 Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
cegger 188054e855 Backport improvements from FreeBSD.
Introduce two new options:
-f : force root node
-i : set priority budget where supported
developped, tested and reviewed by kiyohara@ and me.
2010-08-24 08:41:24 +00:00
jnemeth 08e3aa9c11 fix build failure -- correct printf sizes 2010-08-23 06:01:04 +00:00
rmind 2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
wiz 3d5790d7f6 Sort sections. 2010-08-18 10:00:49 +00:00
christos d8bfbcfa53 add syslog logging. 2010-08-18 08:06:39 +00:00
wiz 70f1aeef21 Revert unimprovement from previous. 2010-08-16 06:56:48 +00:00
cegger 9442479bbf backout accidentally committed changes 2010-08-15 22:05:14 +00:00
cegger 5a10adf510 spelling fix 2010-08-15 22:01:57 +00:00
cegger f15046fcff Feed improvements from FreeBSD 2010-08-15 21:52:30 +00:00
pgoyette 1009226e90 Fix a typo 2010-08-14 16:32:26 +00:00
cegger b3454b7a0b fwcontrol -> fwctl 2010-08-14 16:23:49 +00:00
joerg 045886139e Include the type of non-complex pins in the label. 2010-08-10 13:52:13 +00:00
pooka 0a80f65755 support CTLTYPE_BOOL 2010-08-06 15:26:16 +00:00
pooka c7528563f1 If compiled with RUMP_ACTION, access rump kernel instead of host
kernel.  This is an easy way to browse & modify the sysctl tree
offered by a rump kernel instance.
2010-08-06 15:04:13 +00:00
christos b70c7f2153 unhook old wpa code. 2010-08-04 17:13:33 +00:00
mlelstv 1898a7c316 Print the correct value for critmin of a fan sensor. 2010-08-01 15:39:52 +00:00
cegger f108f421fc remove useless brackets. From kiyohara@ 2010-07-31 07:05:32 +00:00
pooka b36b2c0f6d Remove unused LDADD lines. They need work to work, and if anyone
ever does that work, they surely can come up with the LDADD line as
well.
2010-07-20 14:42:03 +00:00
mrg 6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
reed a66933c999 Add brief explanations of unit abbreviations.
Add units(1) to see also.
2010-07-09 22:24:13 +00:00
jruoho 42a8adcdaf Xref ldd(1) as per PR bin/30043 from Jochen Keil. 2010-07-06 23:05:56 +00:00
pooka afdc25dbdf When using the top secret PUFFS_COMFD model, write out size of the
puffs kernel args before the contents.  This allows parties which
have no clue about the contents to proxy the protocol easily.
2010-07-06 13:27:16 +00:00
kefren 14ce3efb4a Fix incomplete extensions sanity checks 2010-07-02 12:13:11 +00:00
pooka bdc0f19ba4 link putter now that it's a separate component 2010-06-30 16:22:49 +00:00
joerg 4d4c59441b Run services_mkdb if only the old hash exists 2010-06-24 17:12:06 +00:00
matt 026f5f1d75 Make ofctl for ofppc machines. 2010-06-20 21:30:26 +00:00
tnozaki 2a7af30c36 1. split runetype_local.h -> runetype_file.h
and remove renameing _Rune* -> _NBRune* namespace protection.

   FreeBSD traditionaly exposes struct _Rune* in runetype.h
   which included by ctype.h. it may cause conflicting type error
   in our cross build process, former we use renaming namespace
   to avoid this problem, now i reworked more resonable way.

2. merge rune_local.h to runetype_local.h, and remove it.
3. split bsdctype.h -> bsdctype_{file,local}.h
2010-06-13 04:14:56 +00:00
tnozaki 4935b908f2 s/_CTYPE_NUM_CHARS/_CTYPE_CACHE_SIZE/ 2010-06-12 18:02:31 +00:00
dholland 3e9fa0fcf5 sprinkle some const 2010-06-10 06:28:33 +00:00
dholland 109bd3a98e ANSIfy function declarations 2010-06-10 06:17:21 +00:00
dholland 0857145886 de-__P() 2010-06-10 06:09:10 +00:00
dholland 6ea002c7af Allow -f -, as per PR 10898. 2010-06-10 06:03:20 +00:00
riz 634f514ee6 Allow syslogd to compile when MKCRYPTO=no. No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.
2010-06-09 21:55:42 +00:00
dholland c91651efd0 Requires sys/param.h. 2010-05-30 04:32:09 +00:00
dholland 27bc337fe3 with luck this is the last one 2010-05-30 00:52:06 +00:00
dholland fcd908b8d5 no braaaains for you either! 2010-05-30 00:50:25 +00:00
tnozaki 64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
christos 798c8ea20e PR/19069: SUENAGA Hiroki: Original fix was defective because on big endian
the expression is not truncated to 16 bits, thus sending to port 65536 makes
the == 0 test fail and the packet ends up being sent.
2010-05-13 18:19:18 +00:00
tnozaki 50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
wiz 6f43bcda13 Remove trailing whitespace and dot in Nd. 2010-05-09 14:02:10 +00:00
degroote c4b8685918 Add missing license 2010-05-09 12:45:19 +00:00
wiz 95b209a8cf Sort options, standardize SYNOPSIS, slight rewordings. Use more markup. 2010-05-08 11:29:40 +00:00
degroote ca38e323d1 Add support for pfs(8)
pfs(8) is a tool similar to ipfs(8) but for pf(4). It allows the admin to
dump internal configuration of pf, and restore at a latter point, after a
maintenance reboot for example, in a transparent way for user.

This work has been done mostly during my GSoC 2009

No objections on tech-net@
2010-05-07 17:41:57 +00:00
christos 8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
wiz e35956774d Sort option descriptions. 2010-05-05 22:11:19 +00:00
wiz 430d51d315 Accept -v in getopt(); sort flag cases. 2010-05-05 22:10:50 +00:00
joerg aa73978631 Add verbose flag -v and make -q the default behavior. 2010-05-05 13:19:51 +00:00
pooka cf3a71d4a7 Add rump_au-naturel, which instead of mounting a file system inside
the rump kernel just attaches to / in said rump kernel instance.
This is mostly useful in case wanting to see what nodes components
create (see Makefile).

not built without manual intervention
2010-04-29 22:42:48 +00:00
plunky 366a13e705 additionally query the "PnP Information" service record to discover
any USB Forum vendor-id and product-id values and store them in the
property list if found.
2010-04-28 06:18:07 +00:00
joerg b9cf7d31ab Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
2010-04-25 00:54:44 +00:00
jruoho 73bd86de75 Define _PATH_POWER and use it. 2010-04-24 20:44:33 +00:00
dyoung ca088e5210 Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
new target, emit_dist_file, to assemble the correct NetBSD.dist.

Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
NetBSD.dist that was missing /usr/lib/i386/ et cetera.
2010-04-23 19:21:08 +00:00
plunky edefcdeffb no [longer?] need to define _KERNEL when including <net/route.h> 2010-04-23 15:30:30 +00:00
christos e1c0dee238 workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer 2010-04-23 02:10:01 +00:00
wiz c43843983b Remove trailing whitespace, replace "Ar -i" with "Fl i". 2010-04-16 13:56:45 +00:00
jmcneill 2ad2163edc add examples for setting ipv6 default routes in ip-up/ip-down scripts 2010-04-16 13:47:50 +00:00
wiz d692f84d06 Sort options in SYNOPSIS (flags without arguments first). 2010-04-11 21:34:18 +00:00
pooka 04c1597880 Add raw mode, which skips ASCII'ification and can be used if reading
structures from the kernel into debug program memory is desired.
2010-04-11 15:08:17 +00:00
pooka c8360f5cc9 Instead of totally giving up, dump CTLTYPE_STRUCT as hex, much
like sysctl -x (but not fancy like -dosequis).
2010-04-11 08:30:17 +00:00
jruoho 5e7a0d0a3b A general update. Remove (hopefully the last) references to sendmail(8), etc. 2010-04-10 08:29:53 +00:00
joerg 4f69f7fc94 No trailing whitespace 2010-04-05 19:36:29 +00:00
pooka 326638b53f In case we create a file, reclaim the vnode, and lookup the file
without the directory timeout expiring, we get vattr_null as the
attributes for that file.  Ensure that we always report sane
attributes by getting them from the server if this is the case.
(also, sprinkle some const)

Fixes problem reported by dyoung.   But wait!  The bug's medallion
begins to glow!  The bug looks much better!  I crumble to dust.

There's probably another similar bug related to "lazy open".  It
will trigger if we reclaim a node before the response to the open
arrives.  Even the comments (typoless) know about this bug ...
But verifying it exists and fixing it will have to wait for another
day.
2010-04-01 02:34:09 +00:00
pooka f53fd22c3c fix typo (at least it was in an error string instead of a comment) 2010-03-31 14:54:07 +00:00