Commit Graph

9733 Commits

Author SHA1 Message Date
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
pooka be33b37b2e regen 2010-03-31 14:49:46 +00:00
pooka 5e15c7d5fc MAP_COPY is available only in _KERNEL .... uh, so don't use it here. 2010-03-31 14:49:02 +00:00
pooka 5fb5ff121c Add note saying that the manual page is autogenerated and all parts
may not apply to this particular server.

TODO: have three different texts, one for device backed file systems
(e.g. ffs), another for network backed (e.g. nfs), and a third for
fictional (e.g. kernfs)
2010-03-31 14:45:59 +00:00
pooka e83b6a1151 generate 2010-03-31 14:33:37 +00:00
pooka bde226973a Add kernfs server.
Don't build & install it by default, since it represents the state
of the rump virtual kernel and not the host kernel.  However, it's
useful for debugging kernfs.
2010-03-31 14:22:27 +00:00
cegger 0cffce294c make this build again after ieee1394 update 2010-03-29 10:49:34 +00:00
dholland d4ca0466e8 Avoid SIGSEGV in forked child process for (some?) instant-disconnect clients. 2010-03-25 16:36:00 +00:00
jruoho 260563ef8c Note also here that this is a legacy daemon that is more or less deprecated. 2010-03-20 09:22:37 +00:00
jruoho 7e4def2e7d Add a note that APM was deprecated by the PC manufacturers in about 1996.
Mention the APM emulation layer of ACPI. In addition, some small fixes.
2010-03-20 07:59:44 +00:00
cnst deaf16ef51 Remove aiboost(4) as obsolete and redundant since the introduction of aibs(4).
http://mail-index.netbsd.org/tech-kern/2010/03/06/msg007458.html

Reviewed by <pgoyette>, <cegger>, <jruoho>, <tech-kern>.
2010-03-19 04:04:27 +00:00
wiz 35d2900127 Quote question mark so it's correctly marked up.
Problem reported by Ryo HAYASAKA in PR 42963.
2010-03-12 09:36:15 +00:00
christos 0fa7bdbba6 PR/42943: Takashi Sogabe: pppd generates invalid netmask 2010-03-10 13:45:39 +00:00
wiz 8c68fa47ec Sort sections. Try to improve description of -t. 2010-03-09 10:54:01 +00:00
kiyohara cecd9b8efc Remove white-spaces. 2010-03-09 02:01:51 +00:00
plunky c683e41b5d use %zd for ssize_t argument 2010-03-08 21:48:42 +00:00
plunky 7937d424ef fix compilation errors 2010-03-08 21:19:29 +00:00
kiyohara 3e3acb56cf Add -t, -F, -P. 2010-03-08 18:35:51 +00:00
kiyohara 4670060018 Add option 'test mode'(-t).
Can test your Bluetooth module via com-port.
  This mode guess speed for bcsp(4) or btuart(4), if not respond.
2010-03-08 17:59:52 +00:00
kiyohara 45be6911c0 Add options 'no parity'(-P) and 'disable flow control'(-F).
Also default enable parity for bcsp.
2010-03-08 17:41:11 +00:00
pooka 50cfd7e754 add commented out nqmfs 2010-03-08 12:48:31 +00:00
pooka c11c0f21f8 Not Quite MFS
Instead of copulating with newfs to produce a new FFS image into
memory, mmap() a given existing image and pass that as the backing
store.  If -s is given, mmap is done with MAP_SHARED and changes
are kept across mounts, else MAP_COPY (i.e. MAP_PRIVATE for us) is
done and changes are lost when the server exits.

Note: -s does not guarantee any kind of file system safety whatsoever
and in case of kill, crash, exit or other form of elusion,
everything will be, according to our theme, quite screwed.
2010-03-08 12:46:33 +00:00
plunky 6f9cc4f169 add some LOG_DEBUG 2010-03-07 10:58:40 +00:00
pooka ed49ad5f70 Give usage() a chance.
XXX: UKFS_DEVICE_ARGVPROBE() interface
2010-03-03 17:37:01 +00:00
joerg bfbe4c3572 Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value)
is good enough and the side effects of ISO C99 7.12 (4) are not desired.
2010-03-01 00:13:47 +00:00
mlelstv 68b19a91fd Adjust for change in kernel that stores physical block numbers
in superblock that point to the journal.
2010-02-27 12:07:40 +00:00
wiz 60e71df88e Sort options. 2010-02-27 10:49:58 +00:00
wiz 55641935f7 Sort options. Add -j to SYNOPSIS. Bump date for -j. 2010-02-27 10:49:42 +00:00
mlelstv f8f395ea25 Print both commit headers, even for disks with larger block sizes. 2010-02-27 09:53:33 +00:00
mlelstv b13adfa46e Add support to print the WAPBL journal. 2010-02-27 09:05:59 +00:00
cegger 14bab12404 check for svm feature flags if cpuid function 0x8000000a is available. 2010-02-23 08:46:33 +00:00
bouyer 1d8e4d24e4 Make block fields one char wider; allows to sanely display quotas up to
99.9GB while still fitting 80 columns.
Something else needs to be found for the long term ...
2010-02-17 18:55:14 +00:00
pooka d317936de6 umgah. meant fts, not fsu 2010-02-17 15:54:10 +00:00
pooka 046f5845a2 Bump the initial rootdir link count guess to a ludicrous value. 2010-02-17 15:50:54 +00:00
pooka 73655f9fb0 Save "." attributes in readdir. This fixes the root link count
after readdir is called for the root dir the first time (yes,
there's still a window of wrong link count after the fs is mounted.
it's currently quite difficult to call sftp_readdir() from outside
the main loop).

Should fix "find /mnt" problem for a mountpoint with more than the
"guessed" amount of subdirectories, as reported by dyoung.
2010-02-17 15:47:36 +00:00
plunky de7a8fb394 sort entries in structure
clarify init name type for CSR modules
2010-02-17 09:49:41 +00:00
mlelstv 03a893b3fd Read the padded superblocks to avoid problems with disks that have
larger sectors than 512 Bytes.
2010-02-16 18:57:53 +00:00
mrg f23127ca0a don't call most/all Core2's "(Merom)". 2010-02-16 00:13:14 +00:00
pgoyette c4b330d512 Document the new {high, maximum}-capacity keywords, and some general
clean-up.
2010-02-15 23:04:11 +00:00
pgoyette 55a81df24d Update cross-reference to refer to new aibs(4) instead of aiboost(4) 2010-02-15 22:38:28 +00:00
pgoyette 74999bdda4 Update userland envstat(8) to handle new {high,maximum}-capacity limits. 2010-02-15 22:37:14 +00:00
njoly 9a9cbde160 Fix double free, when requesting an invalid sensor. 2010-02-12 14:26:27 +00:00
cnst 7397d018ca remove the fourth (empty) column from the -T printouts; ok pgoyette 2010-02-12 05:02:40 +00:00
cnst 0854bc43a8 fix a typo resulting in warn-max being shown in two columns (one time instead of crit-min); ok pgoyette 2010-02-09 05:32:51 +00:00
cnst 1c23afa3cb New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

        http://thread.gmane.org/gmane.os.netbsd.devel.kernel/35654

Reviewed by <pgoyette>, <jruoho> and <tech-kern>.
2010-02-09 03:19:50 +00:00
he 76d4444c78 When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
2010-02-06 23:45:24 +00:00
pooka 70b8adf303 Give credit: psshfs was inspired by FUSE sshfs. 2010-02-03 17:16:29 +00:00
pooka 7face90494 statvfs:
Since bresvd is not available from the server, calculate:
	bresvd = bfree - bavail.

Then df calculates:
	bavail = bfree - bresvd;

And we now get a much more accurate report from df on how much one
can write to the fs.
2010-02-03 17:02:52 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
drochner 6d0b625409 The structure returned by USB_DEVICEINFO has the vendor/device strings
UTF-8 encoded now. We can't simply print this to a terminal, so
convert it to the current codeset first.
2010-02-02 16:25:30 +00:00
wiz 05f103b5db New sentence, new line. 2010-01-30 08:57:49 +00:00
pgoyette c6140fa206 Since we never have both a limit value and a limit %capacity value,
remove the Capacity column.

Reduce inter-column spacing, and display all four limits on one page,
rather than using the -W command line option to switch between critical
and warning limits.  (The -W option is still permitted, but has no
effect.)

%capacity limits are displayed in the WarnMin and CritMin columns, but
have a trailing % sign.
2010-01-30 02:56:39 +00:00
mbalmer 0f58fac97e fix language 2010-01-28 14:12:11 +00:00
wiz dfe95627e5 Bump date for previous. 2010-01-27 06:52:24 +00:00
jruoho df40d4f10f Some miscellaneous fixes:
* Apparently there is only a single location for the scripts. Thus, remove
   the references to "/etc/powerd/scripts/apm" and "/etc/powerd/scripts/acpi".
 * Correct confusion: instead of "the device with which the device is
   associated", write "the device with which the event is associated".
   Correct also an example related to this.
 * Improve wording, grammar, and markup in few places.
2010-01-26 20:37:13 +00:00
jruoho 65a2d62a82 Emphasize the script names and events. 2010-01-26 14:28:23 +00:00
mrg 048f27069a remove the HISTORY section that merely claimed this manual page was
new (but it was written in 1994 :-)
2010-01-26 06:03:02 +00:00
pooka 26994c608b Define concept "disk based file system" and flag appropriate file
systems as such.
2010-01-25 15:55:36 +00:00
wiz 8a2acb8ef0 -f is not mandatory. 2010-01-23 10:47:04 +00:00
sborrill 51f4fcdba7 Enable CONFIG_DEBUG_FILE option to allow debug messages to be sent to
a file instead of stdout.
2010-01-22 16:41:57 +00:00
wiz 0e068e9935 Fix date. 2010-01-20 14:00:48 +00:00
uebayasi b833b11a50 Document -t (modify mtime). Bump date. 2010-01-20 13:50:27 +00:00
christos e684a7b22f check if i is in range before using it. 2010-01-18 04:53:10 +00:00
drochner 23174fa441 Invert the flag bits to control module loading: rename
LOADMODULES->NOMODULES and READBOOTCONF->NOBOOTCONF.
This way, the default value (0) wired into old bootxx_* and installed
to file systems remains valid and we avoid problems on partial updates.
2010-01-17 14:54:43 +00:00
joerg 228bb419cc Use .%U for URLs instead of .%O. 2010-01-15 19:19:32 +00:00
drochner 79f027bbd6 On i386/amd64, define two flag bits in the boot parameters which control
whether modules are loaded and whether boot.cfg is evaluated, and
set both to "off" per default in the PXE bootloader.
Extend "installboot" to toggle the bits.
This way, pxeboot works with existing dhcp server setups (and as
described in the manpage) out of the box. Also, boot.cfg reading
involves a stat() call which is horribly inefficient with the
TFTP pseudo file system.
2010-01-14 17:49:31 +00:00
tsutsui e5f39b5e90 Remove if defined(__RCSID) around __RCSID() macro.
#include "nbtool_config.h" is enough for tools.
2010-01-14 16:27:49 +00:00
pooka ef38ca9933 Make r/w servers unmount themselves cleanly upon receiving SIGINT/TERM. 2010-01-12 18:43:37 +00:00
wiz be1708fee6 Anon tells me it should be "on the order of", not "in the order of".
Hi marc!
2010-01-11 14:30:02 +00:00
wiz be7ea74662 New sentence, new line. 2010-01-11 09:49:19 +00:00
mbalmer ec0de7b4ec some wording fixes 2010-01-11 09:21:39 +00:00
mbalmer 06404c9d5f remove stupid casts. if lint complains about return values that are ignored,
lint should fe fixed, and not code being cluttered.
2010-01-10 19:40:11 +00:00
snj 34d0fbb3ff Add a missing semicolon. Noted by Tomasz Motyl in PR bin/42603. 2010-01-10 19:04:35 +00:00
joerg 4e2447c901 Don't leak two file descriptors in cp(). From Igor Zinovik.
Explicitly check the close for errors and bail out if needed.
2010-01-10 16:40:00 +00:00
mbalmer 89644c3065 Various language fixes.
From FreeBSD.
2010-01-09 10:43:11 +00:00
pooka e828ea6b56 Fix compilation with -Wsign-compare. Apparently 5.0 doesn't have
-Wsign-compare enabled, which explains a thing or two ...

pointed out by gson
2010-01-08 10:53:31 +00:00
wiz a9e00b2097 Don't be terse. 2010-01-07 23:35:45 +00:00
pooka eac396bb5a errx() already contains progname ... 2010-01-07 21:26:49 +00:00
pooka 754f939dd3 Don't allow mangling of uid or gid -1, since they have a special
meaning in the sftp protocol.
2010-01-07 21:23:10 +00:00
pooka 6cd252da60 Fix chgrp (and don't rely on VNOVAL being -1, however unlikely that
is to be broken).
2010-01-07 21:19:45 +00:00
pooka c4291c195a Add -u and -g, which allow to remap one (local,remote) uidgid, i.e.
umapfs without the fuss.
2010-01-07 21:05:50 +00:00
tsutsui 17ad8ece63 Add a sectorsize parameter member in struct ib_params and use it
where sector size (disk block size) is required, instead of
DEV_BSIZE constant which means device I/O block size.

"Looks reasonable" from dholland@, and fixes tools installboot(8)
on Cygwin where DEV_BSIZE != 512 as mentioned in PR toolchain/42555.
2010-01-07 13:26:00 +00:00
mbalmer 40406154b1 Fix typo in comment. 2010-01-06 06:30:37 +00:00
mbalmer 43f131c4e8 Only use an auto-determined interface if it is the only one in the system
that is up and running.  This change prevents wake(8) from picking an
arbitrary interface (which is possibly the wrong one).
2010-01-04 11:34:39 +00:00
wiz f5e16a46b4 Capitalize Ethernet. 2010-01-03 19:04:26 +00:00
mbalmer 18af789290 Indicating the interface over which to send Wake on LAN frames is optional,
if the interface is not given on the command line, wake(8) will use the
first ethernet interface that is up and running.
2010-01-03 17:58:14 +00:00
wiz 31ac57e452 Fix previous: Dd argument and lost Em markup. 2010-01-01 21:44:07 +00:00
mbalmer acf41ffe98 fold long lines. 2010-01-01 21:26:18 +00:00
wiz e68a42515b Bump date for gid_range. 2009-12-31 20:14:19 +00:00
mlelstv 6ee63fe8b0 Add new keyword gid_range to usermgmt.conf which specifies a default
GID range for groupadd(8).
2009-12-31 19:59:31 +00:00
abs 564d9d15f0 Put "MAN= acpidump.8" back outside the i386/amd64 block so its in the
MI manpages, and non i386/amd64 setlists are correct again
2009-12-27 21:42:22 +00:00
christos 9a4b585a95 running postinstall fix should also say why fontconfig did not work, like
all other postinstall methods.
2009-12-24 21:52:57 +00:00
mbalmer a72f71643d Fix typo in comments, no code change. 2009-12-23 09:17:40 +00:00
cegger 3b140d483b Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:03 +00:00
cegger de1cae9a73 msg.txt 2009-12-22 08:44:02 +00:00
cegger 09f2089b95 Import acpidump from FreeBSD per request from jmcneill@
Changes made in the port:
- adapt path to iasl from /usr/sbin/iasl to /usr/bin/iasl
- fix realpath() usage to accomplish NetBSD's behaviour
- use EXIT_FAILURE/EXIT_SUCCESS everywhere
- fix crash on corrupt DSDT file and print proper error message
- implemented additional ACPI table parsers for
  BERT, BOOT, CPEP, DBGP, EINJ, ERST, HEST, MSCT, SBST,
  SLIT, SPCR, TCPA, WAET, WDAT and WDRT
2009-12-22 08:44:02 +00:00
mbalmer 9e1aa40062 Better wording. 2009-12-21 15:48:33 +00:00
mbalmer 0b145a4077 Fix synopsis to make it clear that at least one lladdr is required. 2009-12-21 08:42:39 +00:00
christos 0283f36219 PR/42486: Ed Ravin nfsd sometimes exits prematurely during port-scan fix
from freebsd bin 61084 applied (preserving errno properly). The accept
code should be merged.
2009-12-21 05:06:55 +00:00
nakayama 89f2cb29c8 Add xref to ofctl(8). 2009-12-19 23:10:57 +00:00
pooka 0ab737e1d6 add ranty rant about data storage in tmpfs 2009-12-17 14:06:38 +00:00
pooka 0446aae700 Call ukfs_part_release(). For completeness and educational value. 2009-12-13 21:16:54 +00:00
nakayama 1c54a66d99 System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
2009-12-13 05:01:32 +00:00
pooka abcee849c9 This is linked against rumpnet_sockin, so it should not be linked
against rumpnet_netinet anymore.
2009-12-11 16:46:27 +00:00
kardel 142d831562 Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
mbalmer 74f49bc48d s/the the/the/ 2009-12-08 09:46:01 +00:00
dsl 111a678bed VNDIOCSET now returns a 64bit unsigned size.
Use compat ioctls if the kernel rejects the request.
Fixes PR/41873.
2009-12-06 16:35:16 +00:00
kiyohara 24a2c2d7c2 Add unistone. 2009-12-06 13:21:37 +00:00
kiyohara 4e74fe3282 Support Infineon UniStone (PBA31308).
from Gumstix's bluez-utils-hciattach-pba31308.patch.
  tested on Gumstix verdex-pro.
2009-12-06 12:55:46 +00:00
kiyohara adcbe4e3eb Fix some bugs.
1. Remove O_NDELAY.  Please block it.  Or read() returns EAGAIN.
 2. We want data size.  header already read.
 3. Call errx().  errno(2) unspecified at now.
2009-12-06 12:47:37 +00:00
kiyohara c7fee8db52 Check return values. 2009-12-06 12:31:07 +00:00
kiyohara 69144e751e Fix comment. CSR use BlueCore command. 2009-12-06 12:29:48 +00:00
pooka 70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka a1c4673949 Adapt ukfs users to the new ukfs_part interface. 2009-12-03 14:27:16 +00:00
pooka 3b493fbd05 remove unnecessary LDADD 2009-12-03 14:26:44 +00:00
mbalmer 9b182ae0ac s/the the/the/ 2009-11-22 18:45:27 +00:00
mbalmer f0a888ee5f make sense 2009-11-22 18:43:27 +00:00
mbalmer 124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
roy 431f7b204e Use resolvconf(8) to manage /etc/resolv.conf 2009-11-21 07:53:59 +00:00
christos 6b6eea3c51 allow comparing v2 and v3 filehandles. 2009-11-19 22:27:26 +00:00
enami 29551a2991 Prevent sign extension when reading device number in ufs1 on disk inode
so that devname(3) correctly converts it to device filename.
2009-11-19 02:52:54 +00:00
drochner 86b474fa0d ANSIfy, sprinkle "const" 2009-11-17 18:58:07 +00:00
drochner 5fbc003349 ANSIfy partially 2009-11-17 18:37:45 +00:00
christos e6f376b325 Fix pppd for ipv6 link-local addresses. Change the prefix length to 72 bits.
Thanks to Nagae Hidetake for providing patches and testing.
2009-11-14 04:47:03 +00:00
mishka 5da27c1396 The ippool(5) manpage mentions ippool.conf (which is also more common
name for config files) - add it to distribution. Per <hubertf> suggestion.
2009-11-13 09:51:13 +00:00
dyoung 2bd83a5fc2 Update date. 2009-11-06 20:51:43 +00:00
dyoung 95d78285f1 Teach ndp(8) about override_rtadv. 2009-11-06 20:51:19 +00:00
skrll 96092d9e00 Whitespace. 2009-11-06 15:41:58 +00:00
christos 225e9fc5c1 make this compile. 2009-11-06 15:36:55 +00:00
joerg 3e36bb3dce Drop __SCCSID. It is only of archeological interest. 2009-11-06 15:00:31 +00:00
chuck a8036503d8 rev 1.18 un-covered some bugs:
1. add_interdomain and add_secure are optional... not all maps use these
    keys.  if we are unable to add them due to a YPERR_KEY (meaning they
    are not being used), then we should not flag this as a general error.

 2. if we have a failure (status <= 0) we unlink_db() the temp database
    as part of error handling.   but we should not overwrite our error
    status code with the return value from unlink_db() because if the
    unlink_db() works (likely true) than that success will wipe out our
    error code and the calling yppush will think we worked.
2009-11-05 21:26:25 +00:00
chuck 1f5ddb4eb6 in the case where ypbind is serving more than one domain (i.e.
not just the yp_get_default_domain() domain), we must remove
any old binding files from /var/yp/binding (BINDINGDIR) from
previous runs, or the non-yp_get_default_domain()'s will not
bind properly.   add a purge_bindingdir() function that basically
does "rm BINDINGDIR/*.[0-9]" at ypbind startup time.

example case of where this is an issue: bind a second (non-default)
domain.   ypbind will create and flock a /var/yp/binding/xxx.2
file for it.  stop and restart ypbind.  the old /var/yp/binding/xxx.2
file will remain from the previous run.   since it is not flock()'d
by the new instance of ypbind, libc functions like yp_master() will
fail without even bothering to talk to ypbind itself.   (and ypbind
is totally unaware of the old file...)
2009-11-05 19:34:06 +00:00
chuck fd40ef4f59 yppush RPC is supposed to return yppush_status error/status codes
(e.g. YPPUSH_SUCC, YPPUSH_NOMAP, etc.).

Functions like yp_master, yp_order_host, yp_master_host, and
yp_match_host return YPERR-style error codes.  YPERR-style error
codes do not directly correspond to yppush_status codes, so it
is a bad idea to just directly YPERR codes into the yppush return
status value (it causes failing yppush runs to print confusing
error messages).

Change ypxfr.c to convert the YPERR codes to YPPUSH codes.
2009-11-05 15:23:55 +00:00
pooka 597f5b5581 Link fs components into binary instead of loading dynamically now
that it's possible (dependency handling changes to rumpuser_dl).
2009-11-05 14:17:07 +00:00
pooka 5866121c7c more lp64 it's-a-sign! fixes 2009-11-05 13:28:18 +00:00
pooka 07b61426de WARNS=2 (netsmb is not pointer-sign-confusion-lp64-clean) 2009-11-05 13:26:02 +00:00
pooka 1aa117e65e lp64 sign comparison 2009-11-05 13:09:56 +00:00
pooka 23517ba3a1 Need to p2k_init() (i.e. fork()) earlier to not lose threads created
in rump_init().
2009-11-05 12:00:18 +00:00
pooka a91d18a45a pump up the WARNS to 4 2009-11-05 11:41:43 +00:00
pooka de048bdaae const woes 2009-11-05 11:40:24 +00:00
joerg 13ed0794d0 Escape literal backslashes. 2009-11-02 00:35:32 +00:00
joerg d1a4d78e86 Drop undefined macros. 2009-11-02 00:33:34 +00:00
joerg 02c40990a1 Drop ".i0", it is an undefined macro. 2009-11-02 00:29:04 +00:00
joerg fa47d7aeec Fix markup. 2009-11-01 20:25:57 +00:00
jakllsch 87dcea5d47 Use documentation prefix.
Drop trailing whitespace.
Remove repeated word.
Bump date.
2009-11-01 15:19:19 +00:00
jakllsch 691255789a Use documentation prefix. 2009-11-01 15:17:59 +00:00
christos 53a85f7e1b add -DROUTEINFO 2009-10-31 22:32:51 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos ffd8793875 no need for YY_NO here. 2009-10-29 14:41:02 +00:00
christos ca70685cf2 option noinput nounput 2009-10-29 14:40:09 +00:00
christos e5f4435e87 option noinput 2009-10-29 14:39:23 +00:00
christos aecc92ac3d option noinput nounput 2009-10-29 14:38:37 +00:00
christos a4ac032926 no unput 2009-10-28 22:49:38 +00:00
christos 2f78b1a39a no unput 2009-10-28 22:37:50 +00:00
christos 6e36ff926d PR/42239: M. Levinson: paxctl(8) fails since binutils 2.19.1 upgrade
binutils-2.19.1 tries to create one note section for all adjacent loadable
note sections, instead of the old behavior where each note is in its own
section. The fix looks at the section headers instead of the program headers
for the note.
2009-10-27 16:27:47 +00:00
tsutsui 359ac4c562 A checksum value in alpha boot block is stored in little endian,
so use le64toh() to print it on the host tool.
While here, use consistent (unsignd long long) casts on printing it.
2009-10-26 14:26:25 +00:00
plunky b04b174c48 after setting the L2CAP link mode in server mode, retrieve the kernels
interpretation of it and check specifically for auth when creating the
service record.
2009-10-25 19:28:45 +00:00
wiz 1675d276fa Bump date for previous. 2009-10-25 01:30:48 +00:00
jakllsch 96c2887e36 Renumber 6bone addresses to documentation prefix.
Fix broken URL for totd site.
Add reference to pkgsrc/net/totd.
2009-10-25 01:09:09 +00:00
plunky f379f083fb use correct value for 10 Mbps 2009-10-24 20:06:42 +00:00
reed 2d0dbf5439 Change manpage reference from talkd to ntalkd.
(Man link does exist, but no binary.)
2009-10-24 12:23:47 +00:00
reed f20256f240 Fix man page reference from non-existent dhcp(8) to dhcpd(8).
Hope this was what was intended.
2009-10-24 12:22:24 +00:00
tsarna 4a827eaa92 Back out mDNS changes which were not discussed.
There is design work that needs to be done first.
2009-10-22 22:50:35 +00:00
wiz aec158cb35 Bump date for mDNS support. 2009-10-22 21:43:28 +00:00
jkunz bd5b8260f5 Add mDNS Service Directory support to inetd(8).
inetd(8) can now advertize services in the mDNS-SD.
(Per service configuration option in inetd.conf(5).)
2009-10-22 16:34:27 +00:00
snj febb7cce65 Drop 3rd and 4th clauses. Approved by gwr@ (copyright holder). 2009-10-21 23:12:09 +00:00
snj 550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
snj 1a868936e6 Remove 3rd and 4th clauses. Approved by Mats O Jansson (copyright holder). 2009-10-21 00:01:56 +00:00
pooka 95a13440ba use rump_pub interface name 2009-10-20 02:14:54 +00:00
pooka 9d203cca46 g/c unused variable 2009-10-20 02:14:12 +00:00
snj 07ce40632e Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
2009-10-20 00:51:13 +00:00
snj 0e24aa0d20 Remove third and fourth clauses, as was done upstream in revision 1.25. 2009-10-19 23:25:43 +00:00
bouyer 6d07b400dc Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
2009-10-19 18:41:07 +00:00
pooka a4001afaf1 remove abort trap leftover from my testing 2009-10-18 19:58:04 +00:00
pooka c5e347e2a8 Use new p2k interfaces and make it possible to detach rump_smbfs 2009-10-18 19:38:35 +00:00
pooka 8209f3a11a adapt to new p2k interfaces 2009-10-18 19:37:25 +00:00
pooka a64df16285 Remove threading ifdefs. It was never easy to run the nfs client
without threads, but now it's even more difficult due to sillyrename
using workqueue, so whoever wants to do it will have to take to
manual fiddling.
2009-10-18 16:02:15 +00:00
pooka 2d07f409b9 Use write through cache here too. Doesn't make the same kind of
difference as with smbfs since nfs is "stateless", but better to
have the data on the server ASAP in case some other nods wants to
use it.
2009-10-18 15:57:15 +00:00
christos b0af10adcf fix size_t issues on _LP64 2009-10-18 15:23:54 +00:00
pooka 8a8f57910d Use PUFFS_KFLAG_WTCACHE since it's sensible for a distributed file
server (plus it makes write work in the first place since the
descriptors don't get closed before the cache is flushed).
2009-10-18 15:14:13 +00:00
christos 5a6c88acad pass lint 2009-10-17 22:26:13 +00:00
christos 10dc222174 change to strchr and strrchr 2009-10-17 20:46:03 +00:00
christos 99d395c60f Make this compile again. I should have tried to compile the patches myself,
but ran out of time this morning.
2009-10-16 22:45:18 +00:00
christos de1256ff71 constification from Paul Ripke to make it compile on OS/X 2009-10-16 12:41:37 +00:00
hubertf 2058a998c8 Fix -p:
* rm_eo is the first character *after* the match, so no need for a +1
 * Blowfish hashes are only 53 chars long, not 54
2009-10-15 23:03:02 +00:00