Commit Graph

11645 Commits

Author SHA1 Message Date
wiz 67dee3c787 Mostly formatting improvements. 2018-01-09 09:33:00 +00:00
wiz 3d7c11903b file system police. 2018-01-09 09:27:41 +00:00
christos b985414b8f Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
2018-01-09 03:31:12 +00:00
christos 09f2d229ee factor out common code from Poul-Henning Kamp. 2017-12-31 03:04:44 +00:00
hannken d1244e2808 Use stat() information to decide if the backing store is a directory.
Depending on open() returning EISDIR fails for mount points.
2017-12-21 15:52:19 +00:00
wiz ae3489c219 Add width arguments to tagget lists. 2017-12-21 12:25:03 +00:00
plunky 42f8a9c2e1 for Read_Local_Version, print also the HCI revision 2017-12-21 09:31:22 +00:00
plunky 1bf21e871d fix width/indent of list 2017-12-21 09:00:19 +00:00
plunky 25d91cf46c fix width of list 2017-12-21 08:59:58 +00:00
christos 743f435a2d PR/52828: Mark Johnston: makefs UFS2 lazy inode initialization is buggy
makefs(8) emulates UFS2 in performing lazy initialization of inode
blocks when allocating and writing inodes. However, it only ever
initializes one inode block at a time, which may be insufficient.
If so, a later initialization may clobber an inode, resulting in
an inconsistent filesystem.

I committed a minimal fix for the problem to FreeBSD:
https://svnweb.freebsd.org/changeset/base/326912
2017-12-16 23:08:40 +00:00
christos ab39b7f428 use uintmax_t for nlink_t from FreeBSD 2017-12-14 18:34:41 +00:00
skrll ba7c07c65b Fix RPI kernel file after FDTisation.
From Harold Gutch
2017-12-14 14:12:39 +00:00
wiz 4b01aa4e24 Remove superfluous Pp. 2017-12-11 23:07:49 +00:00
rmind bd05c4c470 npfctl: add support for the 'no-ports' flag in the 'map' statements.
This allows us to create a NAT policy without the port translation.
2017-12-10 22:04:41 +00:00
leot add6cc459e Fix a typo 2017-12-10 20:45:26 +00:00
bouyer 878cb1cfc5 Fix fallout from hid factorisation:
- need to install sys/dev/hid/hid.h for userland
- include it where needed - most of the time in place if usb/usbhid.h
2017-12-10 20:38:13 +00:00
christos 9e9f13a4e0 Add things implemented 2017-12-10 20:30:45 +00:00
mlelstv 808b264de6 allow PASS opt_proto ALL syntax in map statement. 2017-12-03 23:48:03 +00:00
martin ee3280f977 Bump MAXARGV from 20 to 64 - with bozohttpd and all config on the command
line it is easy to hit the (silent) limit.
2017-11-28 11:51:11 +00:00
abhinav 357f7b44ef Encapsulate all the arguments required by the query callback function in a struct.
If we want to add or remove arguments from the callback functions, it requires
changing the callback interface all over the place. By letting the callback simply
expect a single struct argument, it would clean things up a bit.

ok christos
2017-11-25 14:29:38 +00:00
kre a33d800447 When sending log messages to stderr, append the \n that syslog does not need. 2017-11-25 02:37:04 +00:00
nonaka c7f80e628d Initialize boot_catalog_entry's entry_type properly.
This had been missing but the type was used in cd9660_setup_boot().

From OpenBSD usr.sbin/makefs/cd9660/cd9660_eltorito.c r1.10.
2017-11-09 01:28:05 +00:00
joerg 9a76d3f972 Mark expandm as preserving format strings. 2017-11-06 19:12:23 +00:00
christos 4c18e5f405 Change the meaning of the 'D' flag to print errors to stderr instead of
syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).
2017-11-06 15:15:04 +00:00
abhinav b0184879c2 Casting variable of type int * to size_t *, may cause
alignment issues on some platforms (e.g. Sparc64)
So, Use a temporary variable to avoid the cast.

Thanks to Martin@ for noticing the issue and also suggesting the issue.
Fixes PR bin/52678
2017-10-31 10:14:27 +00:00
ozaki-r 2acd285552 Fix showing translated port (ntohs-ed twice wrongly) 2017-10-30 04:53:43 +00:00
wiz 3ba65d3d58 New sentence, new line. 2017-10-23 01:07:27 +00:00
abhinav c59c6bd4a8 Add rtsol to the NAME section as well 2017-10-22 18:09:33 +00:00
abhinav ec2df1b139 Add quotadump to the NAME section 2017-10-22 18:00:45 +00:00
abhinav 92d8b712af Add irda to the NAME section as well 2017-10-22 17:58:10 +00:00
msaitoh 4a84e4a57f Update from Intel SDM:
0x55: Xeon Scalable (Skylake)
 0x57: Xeon Phi [357]200 (Knights Landing)
 0x66: Future Core (Cannon Lake)
 0x85: Future Xeon Phi (Knights Mill)
2017-10-19 03:09:55 +00:00
msaitoh 798eec36f8 Update from the latest Intel SDM:
0x5c: Atom (Goldmont)
 0x5f: Atom (Goldmont, Denverton)
 0x7a: Atom (Goldmont Plus)
2017-10-17 14:48:42 +00:00
ozaki-r 37c5cac096 Don't setup SPs if no policy sepecifier is specified
We expect that SPs are set up iff some policy sepecifier(s) are specified.

Found on investigating an issue reported by Robert Swindells
2017-10-17 07:13:19 +00:00
christos 5bf5a8b9c7 Treat EOF as a condition to re-open the pcap socket. Since we've been woken
up by poll(2), there must be data to read. If there is not, our socket might
not be ok anymore.
2017-10-16 11:18:43 +00:00
christos 531fc46210 Add a message when we are re-opening the pcap socket. 2017-10-16 11:17:45 +00:00
msaitoh 379e4ad141 - Print ci_feat_val[5] (Structured Extended Feature leaf Fn0000_0007 %ebx) on
AMD, too.
- Print ci_feat_val[6] (Fn0000_0007 %ecx) on Intel.
2017-10-16 10:10:48 +00:00
christos c06842d6f7 try to re-open the pcap connection on error. 2017-10-15 15:26:10 +00:00
christos 837bece478 PR/52618: Shinichi Doyashiki: Don't exit if adding interface to multicast
group fails. This happens with empty vlan interfaces

- make syscalls checks against -1
- fix errors to print %s: instead of <%s>

XXX: if_vlan is the only pseudo interface in net/ that returns such an
error..
2017-10-14 19:16:26 +00:00
christos e68fbebd32 use librumpres 2017-10-10 19:30:41 +00:00
msaitoh 761e1e94b4 Print ACPI_HEST_GHES_ASSIST flag (ACPI 6.2). 2017-09-28 06:55:08 +00:00
msaitoh 0fd02e45f9 Cosmetic change (tab and newline). 2017-09-27 08:14:18 +00:00
msaitoh 597a86a670 - Print SAPIC EID of Processor Local APIC/SAPIC Affinity.
- Print GIC Interrupt Translation Service(ITS) Affinity (ACPI 6.2)
- KNF
- Whilte space cleanup.
2017-09-27 05:43:55 +00:00
gson 0eb663cba7 Clear the screen after running installboot. If we don't, there will
be a leftover line saying "Status: Finished" at the top of the next
screen, along with some random punctuation in the left and right
margins.  Inspired by ../landisk/md.c 1.3.
2017-09-11 15:24:28 +00:00
christos 11aeb6ae69 Don't start another copy of rtadvd if one is running. 2017-09-11 14:12:28 +00:00
christos 7931fdd27d KNF, fix time printing formats. 2017-09-11 14:12:07 +00:00
ginsbach b68988e2c2 Use looked up remote host for remote message without a hostname
An incoming remote message may not necessarily have a hostname
between the timestamp and the message. The the source of the remote
sender is already looked up so use that hostname/IP address rather
than the local hostname.

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-09-10 17:01:07 +00:00
wiz 96dff12048 Fix enumeration. 2017-09-10 10:13:47 +00:00
mrg e7f4cf6f3c two minor fixes for -x and -y mode:
- the header is only 1 line not 2, account for this when calculating
  when to display the next header.
- when ndrives > 1, don't display the header every time, but only when
  the previous one disappears.

now i don't feel the need to run "iostat -x wd0 1 & iostat -c wd1 1"
to get less repeated header output on my display.
2017-09-09 23:51:58 +00:00
sevan 5bd038bb6e Remove the ability to generate a signature database with the hash algorithms
MD5, SHA1 & RMD160 which are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
2017-09-09 21:27:23 +00:00
msaitoh ed892e9a7b Define CPUID Fn00000001 %ebx bits and use them. No functional change. 2017-09-07 06:40:42 +00:00