Commit Graph

9584 Commits

Author SHA1 Message Date
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
plunky
8ac5e94172 reinstate a sentence partly removed in v1.43 regarding the default
facility/priority for local kernel messages
2009-10-15 20:35:07 +00:00
joerg
1444b07e5e Explicitly request literal mode after .Xr. 2009-10-15 02:15:19 +00:00
joerg
45354b5b39 Expand [= prog-name =] in man pages. 2009-10-15 01:28:10 +00:00
joerg
cb83818524 Fix markup. 2009-10-15 00:59:01 +00:00
joerg
dd5fba70d0 Fix markup. 2009-10-14 22:59:11 +00:00
pooka
bf3992af18 Adjust names of external rump control interfaces to match the
new rump_pub namespace.
2009-10-14 18:22:50 +00:00
christos
da2c7e7359 - use const where appropriate
- don't cast return value from malloc
2009-10-13 12:11:19 +00:00
apb
138c8d4f23 /usr/X11R7/lib/X11/xkb/symbols/pc used to be a directory, but changed
to a file on 2009-06-12.  Fixing this requires removing the directory
(which we can do) and re-extracting the xbase set (which we can't do),
or at least adding that one file (which we may be able to do if X11SRCDIR
is available).

Reviewed by mrg, snj
2009-10-13 07:47:00 +00:00
yamt
76034769e6 deal with the output of new objdump. 2009-10-13 00:49:38 +00:00
pooka
a5cf1bb4b7 make this compatible with bool.h. no functional change intended. 2009-10-11 16:30:19 +00:00
wiz
0bfda1e22c Sort sections, fix SEE ALSO. End sentence with dot. 2009-10-11 09:25:19 +00:00
sborrill
f549e36e60 Add hdaudioctl(8), a tool to manipulate hdaudio(4) devices.
It offer the following subcommands:
	list - shows all child codec
	get - get a plist of the chosen codec's widget configuration
	set - forcibly reconfigure a specified codec from a plist
	graph - generate a graphviz file for the specified codec
2009-10-11 08:57:54 +00:00
pooka
68c5575108 Start cleaner without the sleep(1) hack now that it's possible. 2009-10-09 16:38:21 +00:00
plunky
7583393055 handle device page timeout value as LE 2009-10-09 12:58:28 +00:00
plunky
d8166becbf use the bt_dev(3) api instead of rolling our own inquiry and
request functions
2009-10-08 19:50:03 +00:00
plunky
7efcafc964 fiddle with printing of "Class of Device" values
- pass the class of device octet stream to the function
  - only print where the format is known (we only know format #0)
  - use language from the Baseband Assigned numbers document
  - use bit numbers from the Baseband Assigned numbers document
  - add Health device major class

(only these changes this time :)
2009-10-08 19:31:41 +00:00
plunky
3729e633c8 revert previous commit
(bah, I committed the wrong version and there are some other
changes that may not work with current sources)
2009-10-08 19:29:42 +00:00
plunky
ba4cd6cd5e fiddle with printing of "Class of Device" information
- pass the octet stream pointer to the function
  - only print where the format is known (we only know format #0)
  - use language from the Baseband Assigned numbers document
  - use bit numbers from the Baseband Assigned numbers document
  - add Health device major class
2009-10-08 19:25:24 +00:00
cegger
82c98410be fix acpidump segfault 2009-10-08 13:16:13 +00:00
pooka
d07d1f307a Support disklabels. 2009-10-07 20:59:09 +00:00
pooka
018821014f No need to ukfs_modload() ext2fs anymore. 2009-10-07 20:11:05 +00:00
plunky
89a4552c35 use the bt_dev(3) API for increased portability 2009-10-05 12:34:26 +00:00
joerg
4ab84a7335 Fix markup. Handle the DECnet documentation like a journal. 2009-10-04 20:53:23 +00:00
jmcneill
204f5f079e - add newer VIA C7 core and VIA Nano.
- when printing an unknown VIA CPU, default to 'Unknown IDT/VIA' instead of 'C3'
2009-10-02 13:54:01 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
mbalmer
98c9076713 Rename 'pulse' to 'pulsate' to make clear it is a continuous strain of
pulses and and not a single shot pulse that is emitted by devices
supporting this kind of operation.
2009-09-25 20:27:50 +00:00
mbalmer
e5d5fe6e06 Jonatha Kollasch has a GPIO device that can pulse the output lines.
Support it wuth the GPIO_PIN_PULSE attribute and the 'pulse' paramater
to gpioctl.  Discussed with Jonathan.
2009-09-25 19:37:03 +00:00
apb
8f2b54e18a Fix errors in previous: "optional" and "ignore" keywords also need the
appendfield treatment.
2009-09-22 04:38:21 +00:00
njoly
5fde6173c5 Make do_mtree correctly report failure if either special or
NetBSD.dist checks failed, not only the last one.
2009-09-21 18:03:03 +00:00
apb
4f2b672958 Do not print a trailing space on each line with "mtree -C". 2009-09-19 21:41:43 +00:00
apb
4133fb0075 Fix the "mtree -M" problem reported in PR 42031 by Geoff Wing.
The cause of the problem was that part of the code assumed that
nodecmp() on two nodes with the same name would return 0, but in
fact nodecmp() would return -1 or +1 if one of the nodes was a
directory and the other was not.  The fix is to separate the notion
of whether or not a duplicate name was found from the notion of
where the new node should appear in the list.
2009-09-19 20:42:06 +00:00
plunky
6fe312c1a9 offer some actual information about what PaX might be, and provide
tips for further reading.
2009-09-17 08:07:17 +00:00
mlelstv
d2979fb02a Distinguish between UFS1 and UFS2 inodes by reading the ufsmount structure,
the previous heuristic of comparing the size fields of inode and dinode
failed.
2009-09-16 07:27:41 +00:00
skrll
52749c1bca Rely on the new and "just as awful as the old" hack in the battle of rump
vs link sets.
2009-09-14 17:24:20 +00:00
degroote
2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
plunky
9501383a83 print features from 3.0 + HS spec, including extended features 2009-09-11 19:22:15 +00:00
skrll
b7d7171c7c Allow this to build while link sets and rump are broken. 2009-09-11 06:48:50 +00:00
mrg
cfb8df7f4f install the fontconfig files into /etc/fonts/conf.avail, and symlink
the default ones into /etc/fonts/conf.d, as per default.

reported by jukka marin on netbsd-users.
2009-09-07 21:07:02 +00:00
mrg
2bd0cf0757 - do not create X11 subdirs always anymore
- we now only create them when building X11, and only create the ones
  we need (X11R6 xor X11R7)

- all these subdirs are now in the xbase set

- move the logic for running mtree into etc/mtree/Makefile

- split NetBSD.dist into 3 files, and have the build and postinstall handle
  creating a possibly merged one.  we still have a single installed file
  called "NetBSD.dist".
2009-09-07 19:34:29 +00:00
pooka
f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +00:00
pooka
b0d965c6f5 Add rump_smbfs. It's innards are different from most file systems
in two respects:
    * in addition to vfs (and networking), it depends on kernel
      device code to provide /dev/nsmb
    * mounting involves having lengthy chats with the kernel smb
      device instead of the typical "parse args and mount(2) away".

Seems to be pretty stable, at least data seems to flow over it
faster than over in-kernel nfs.
2009-09-06 20:26:47 +00:00
plunky
0b2b507e45 bump date for previous 2009-09-01 18:20:14 +00:00
plunky
e4d755d754 add xrefs for bluetooth drivers bcsp(4), btbc(4) and sbt(4) 2009-09-01 18:19:08 +00:00
plunky
ff3abe1407 update/correct printing of HCI version numbers according to the
recently published Assigned Numbers documents at www.bluetooth.com
2009-09-01 18:04:33 +00:00
plunky
9abf5ef727 actually exit on errors 2009-08-30 19:24:40 +00:00
hubertf
545302a120 improve wording a bit 2009-08-28 21:19:13 +00:00
christos
12102b7fae port to non NetBSD systems. 2009-08-27 19:40:06 +00:00
enami
fad8f6cbde - The value getdbent() returns when no record is found is not -1 but 1.
Testing if it returns -1 is always false.
- Use the same expression for the size to write and for the size to
  advance a pointer.
2009-08-25 09:27:25 +00:00
wiz
8b0f1ea834 Bump date for previous. 2009-08-24 22:05:26 +00:00
plunky
26f09dd36e add "imode" parameter to allow setting the Inquiry Mode. This supercedes
the "rssi" parameter (which remains for compatibility)

imode takes an argument: "std", "rssi" or "ext"
2009-08-24 20:43:35 +00:00
joerg
f2670f529d Kill -offset without argument. 2009-08-24 09:45:30 +00:00
skrll
7842ef85bb No-one wins in rump vs link sets.
XXX Someone(tm) needs to fix this properly.
2009-08-21 14:41:22 +00:00
elad
9229a44cd8 PR/41911: Jukka Ruohonen: A bug in veriexecgen
Do as suggested and add the missing 'T' to getopt() and update usage.

Thanks for the PR!
2009-08-21 04:09:41 +00:00
he
463a3128d5 Use NOAOUT so that this builds without a.out support, and enable
that define if we're building for mips.
2009-08-20 22:26:19 +00:00
he
2a7ab7d442 Define NOAOUT if we're building for mips. 2009-08-20 21:59:12 +00:00
plunky
b7dec17fbf add a per-unit master setting, to control requesting the master role
when accepting connections.
2009-08-20 21:40:59 +00:00
he
74fd55ff5a Remove what appears to be a spurious include of a.out.h. 2009-08-20 21:25:59 +00:00
wiz
acf7ed853a New sentence, new line. 2009-08-20 15:59:57 +00:00
joerg
5050cfce50 Simplify. 2009-08-20 15:51:28 +00:00
plunky
c1cd0cdec6 clarify role switching for "switch" option
bump date for wiz
2009-08-20 11:45:51 +00:00
wiz
bda39b5016 Bump date for previous. 2009-08-18 21:31:51 +00:00
plunky
b486cef1fe update the "Class of Device" information, now that the Assigned Numbers
documents are available at www.bluetooth.com
2009-08-18 17:40:31 +00:00
drochner
d2c5cda8f9 give up root's supplementary group memberships when switching
to _sdpd._sdpd privileges, approved by plunky
2009-08-13 17:50:41 +00:00
wiz
96f565924e Fix parenthesis problem in ifdef SVR4 code.
From Henning Petersen in PR 41839.
2009-08-07 13:55:22 +00:00
wiz
18de4741b9 Improve wording, based on suggestions by Jukka Ruohonen in private mail. 2009-08-06 22:01:36 +00:00
mbalmer
da7930a7f1 Add gpio to rc checks.
Diff from Geoff Wing <gcw@pobox.com>, thanks.
2009-08-06 08:31:58 +00:00
pooka
ceedea85d6 run lfs cleaner 2009-08-06 01:00:04 +00:00
pooka
3e3523f9c8 add commented-out rump_fdesc along with an explanation 2009-07-31 19:21:55 +00:00
pooka
ad25a49dbe rump_fdesc. it works, but it's actually not very sexy out of
developer clothes, since the server cannot fetch the fd information
from the kernel.  Therefore, don't build it by default.
2009-07-31 19:18:46 +00:00
tsutsui
c3ee8e5613 - use program header rather than section header to find file offset for vmaddr
- make sure that passed vmaddr is in TEXT or DATA section
2009-07-30 15:56:01 +00:00
tsutsui
fcb0df9205 WARNS'fy sources which are left for reference.
src/usr.sbin/mdsetimage has been superseded by src/gnu/usr.sbin/mdsetimage
for toolchain to handle cross build binaries, but these old sources for
local executable binaries still can be used for tools to patch binaries,
like binpatch utility in sys/arch/amiga/stand and sys/arch/atari/stand.
2009-07-30 15:16:37 +00:00
mbalmer
32eeaba5d3 Reworked gpioctl(8) command to reflect recent gpio(4) changes. 2009-07-25 16:18:09 +00:00
pooka
92eb973615 don't need absolute paths for fs component names 2009-07-21 00:40:44 +00:00
pooka
d6d0aeb45d Make rump_lfs work again: load fs components dynamically instead
of trying to link them in on the command line and get pounded by
link set failage.
2009-07-21 00:37:25 +00:00
christos
1e5d85413c moduli moved with openssh 2009-07-20 21:03:42 +00:00
mbalmer
6ef876ad7c Use EXIT_FAILURE/EXIT_SUCCESS instead of numerical values when exiting. 2009-07-18 08:35:19 +00:00
jakllsch
0f020c836e doswitch() has changed the value of argc by the time it's checked here,
adjust accordingly.
2009-07-17 20:31:20 +00:00
yamt
805e61e887 draft-ietf-syslog-protocol-23 -> RFC 5424 2009-07-16 13:33:44 +00:00
wiz
c267463d84 New sentence, new line; remove trailing whitespace. 2009-07-14 08:24:15 +00:00
dholland
b7c32656db Fix typo; also do some minor wording adjustments nearby. 2009-07-14 07:43:16 +00:00
roy
7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
mbalmer
b98fada729 No need to set BINDIR here, since ../Makefile.inc has it.
Noticed by hannken@eis.cs.tu-bs.de, thx.
2009-07-06 12:47:38 +00:00
cegger
49fc067aae make functions static 2009-07-04 20:34:23 +00:00
ahoka
39c5e1f59f Get rid of the DOS line endings in the file.
No change of the code intended.
2009-07-04 14:31:38 +00:00
cegger
c9c9fcbb99 remove unused global variable. 2009-07-04 13:54:14 +00:00
cegger
efe8489506 use EXIT_FAILURE in places I missed in previous. 2009-07-04 13:50:08 +00:00
cegger
6face9fc9c - use EXIT_FAILURE, EXIT_SUCCESS
- main() needs no prototype
- ansify usage()
No functional changes.
2009-07-04 09:12:46 +00:00
wiz
674e49816b New sentence, new line. Remove unnecessary Bk/Ek pairs. 2009-07-02 18:32:04 +00:00
dyoung
53e43e1e70 Deprecate wiconfig's -r, -g, -m options. Note that equivalent
options are available in ifconfig(8).
2009-07-02 17:45:25 +00:00
mbalmer
cf8e7832f4 Fix write loop. 2009-07-01 07:49:12 +00:00
mbalmer
649bcbf015 - No need to include paths.h twice (christos, you oversaw that paths.h
was already included)
- use "usage", not "Usage", like other tools
2009-06-26 21:55:28 +00:00
christos
1ede09dfc2 - include <paths.h> for _PATH_BPF explicitly.
- make sure that everything sets errno appropriately so we can use warn/err
- only open and setup bpf once since if this does not work we fail and don't
  do extra work.
- use getprogname
- static local functions and no parameters.

I think this utility should be renamed wakeonlan because wake is too generic.
2009-06-26 17:38:32 +00:00
wiz
8615942dc8 Fix Dd argument, remove superfluous quotes, add author name. 2009-06-26 09:25:39 +00:00
mbalmer
0161c10332 /dev/bpf is cloneable, no need to dance around /dev/bpfN to find an
available device.
2009-06-26 09:00:49 +00:00
agc
664fc89d11 iscsi distribution has moved to src/external/bsd/iscsi 2009-06-25 23:42:21 +00:00
mbalmer
c57bd217eb Switch from bcopy to memcpy. Requested by and ok christos. 2009-06-25 22:26:54 +00:00
mbalmer
bcbaac7ec1 Add a blank line after the cvs marker and add a descriptive one line comment.
requested by matt green.
2009-06-25 18:50:46 +00:00
mbalmer
35f74629dc wake(8) is a command to send Wake-on-LAN packets to machines on the local
ethernet, allowing machines to be powered up without physical access to them.

tonnerre@ and tron@ reviewed it and decided that the bin directories
are not to full for this small and useful command.
2009-06-25 18:41:21 +00:00
agc
474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
tron
7d5e451c60 Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". 2009-06-23 17:58:22 +00:00
agc
b27d6094e3 Fix from Jukka Salmi - get BINDIR from further up the tree 2009-06-20 17:58:21 +00:00
christos
3fe391d776 fix for non NetBSD systems 2009-06-20 17:03:25 +00:00
christos
c08a8944a8 fix typo 2009-06-20 16:19:46 +00:00
christos
adee5457b1 don't complain if file does not exist either. 2009-06-20 14:25:47 +00:00
agc
0e74d43b5e Enable the iSCSI initiator 2009-06-20 04:18:39 +00:00
agc
dc40c47744 Add a library implementation of modload(3) and modstat(3).
Conditionally compiled in when MODULAR_KERNEL is defined in the Makefile
(or during the build process).

Use kmod functions to see if the puffs module is loaded in the kernel,
and to load it if it is not already loaded.
2009-06-20 04:12:55 +00:00
dyoung
4ec9bd2b05 Use the definition in <sys/param.h> instead of redefining MAX().
(Used to work because the redefinition was identical to the original
definition, but no longer.)

While I'm here, define sizeofA() in terms of __arraycount() from
<sys/cdefs.h>.
2009-06-19 23:36:41 +00:00
wiz
2be246d2b7 Add RCS Id.
Sort options.
End sentences with dots.
Use standard section headers.
Fix Xref.
Make HTML-ready.
2009-06-19 19:31:18 +00:00
christos
33681fbe60 Fix for unprivileged build. 2009-06-19 16:46:52 +00:00
agc
8d1ae2fc62 Bump up to WARNS=4 2009-06-19 16:13:49 +00:00
christos
e946d9550c pass lint 2009-06-19 15:23:26 +00:00
agc
1a46bf4662 Move the iSCSI initiator from the examples section under src/share to
usr.sbin. At the same time, rename the utility to iscsi-initiator(8).
2009-06-19 07:17:09 +00:00
wiz
e6a36c516d Sort sections. New sentence, new line. Punctuation fixes. 2009-06-19 05:50:39 +00:00
christos
2739d569fd allow overwriting the version record. 2009-06-18 22:13:56 +00:00
christos
9dbe62df2a remove duplicated code by merging the insecure and secure database handling.
add warning flag.
2009-06-18 21:59:24 +00:00
christos
ed742f5718 support reading and writing both version 0 and version 1 databases using
-V <version>. By default the databases stay in their current version when
rebuilding/updating.
2009-06-18 17:46:24 +00:00
kardel
4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
pooka
540fcdb7ef +pseudo-device putter 2009-06-09 14:27:17 +00:00
christos
432691963c Avoid -mcmodel=kernel so that we can build in PIC mode. 2009-06-04 12:19:35 +00:00
njoly
4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
christos
39ac8a1e03 - prevent recursive error calls fatal -> die -> cleanup -> sys_cleanup -> cf* ->
fatal/error etc.
- prefix all the errors with __func__.
This allows me to unplug my 3G modem and have pppd exit correctly.
2009-05-24 20:31:25 +00:00
christos
6a9b5acd29 print the proper client address (ryo shimizu) 2009-05-23 03:24:51 +00:00
pgoyette
8a01920225 Make the makedev step fail if either MAKEDEV or MAKEDEV.local need to
be updated.  Patch from njoly@
2009-05-22 15:23:17 +00:00
pooka
d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka
b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka
dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka
8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
he
bf6708350b Spread some 'const' to deal without warnings with string constants. 2009-05-20 08:16:52 +00:00
wiz
49d8d543b2 Update references to firmware handling (mostly by removing outdated stuff
and pointing to iwi(4)). Bump date.

Addresses PR 41444 by Taylor R. Campbell.
2009-05-18 12:55:28 +00:00
wiz
afc1ce3f86 Sort SEE ALSO. 2009-05-18 12:03:56 +00:00
wiz
b649b20e90 New sentence, new line.
Adapt wording from FreeBSD to apply to pkgsrc. Bump date.
2009-05-18 11:57:30 +00:00
mrg
b71ffbf87a if there is no "name" properly, don't assert(), pretend it is empty.
now "ofctl" works on the shark.  fixes PR#36733.
2009-05-18 05:51:53 +00:00
rmind
c873419d8f Skip LSIDL and LSZOMB threads when retrieving info. 2009-05-16 23:59:56 +00:00
pgoyette
0bade9429b Add a few more processor extended models for Intel Family 6 2009-05-14 20:16:10 +00:00
jnemeth
2dac444cfe fetch /etc/dhcpcd.conf from the correct place when building the system 2009-05-13 23:44:26 +00:00
wiz
0ef2a88d96 New sentence, new line. 2009-05-13 23:03:54 +00:00
wiz
6937bb0cf0 Sort option descriptions. 2009-05-13 22:36:39 +00:00
pgoyette
1463b8efaf 1. Extend CPU probe of Intel processors to handle extended-models. This
allows us to properly identify new Intel 45nm processors, Core i7,
   Atom, and the 45nm Xeon MP.

2. Properly decode several new Intel cache descriptors, as listed in the
   most recent (March 2009) edition of Intel's Application Note 485.

3. Convert decode of the various features masks to use the newly added
   snprintb_m(3) routine.

Addresses my PR bin/41289
Addresses my PR bin/41290
2009-05-13 22:25:51 +00:00
christos
a1776a6de9 make this compile where size_t is not unsigned int. 2009-05-13 03:21:41 +00:00
plunky
ab1f45acf7 update to use the new Service Discovery API 2009-05-12 21:50:38 +00:00
plunky
309b0691a2 add an exit hook at the tap so that on the way out (for whatever reason),
btpand will mark down the interface.
2009-05-12 21:21:23 +00:00
plunky
493f204d6d rework the channel shutdown code path, each channel now has its own
action to process which separates the server and client code.
2009-05-12 21:08:30 +00:00
plunky
3be8934b8b rather than debug message, exclaim in error for failed set filter 2009-05-12 19:57:59 +00:00
plunky
170631f4a8 update to use new sdp(3) and sdp_data(3) APIs 2009-05-12 18:39:20 +00:00
wiz
2407dcceaa New sentence, new line. 2009-05-12 14:56:22 +00:00
tsutsui
5164332007 Fix for -Wcast-qual.
XXX want wscons...
2009-05-12 14:15:31 +00:00
plunky
cf71b1e8c5 no longer needs libsdp 2009-05-12 13:11:18 +00:00
plunky
c9c58ee818 does not need libsdp any longer 2009-05-12 13:09:43 +00:00
wiz
9793fd6bf2 Sort sections, fix section header. 2009-05-12 10:27:53 +00:00