Commit Graph

11679 Commits

Author SHA1 Message Date
martin
a9abe48acc Cosmetics: fix the order of calloc() arguments. 2018-01-29 16:24:23 +00:00
maya
c66c60f8a9 Fix copy paste error. from coverity. 2018-01-28 14:34:26 +00:00
sevan
afa0bbc877 Need strings.h for ffs() 2018-01-27 02:07:33 +00:00
christos
a3bd874609 make this build again. 2018-01-26 09:38:26 +00:00
uwe
44fdebe499 .Li is superfluous inside .Bd -literal 2018-01-25 19:15:10 +00:00
sevan
0042c4a241 typo, remove extra bracket 2018-01-24 14:45:44 +00:00
uwe
ad8c206f39 Try to use proper semantic markup. Fix a few formatting nits. 2018-01-24 12:05:50 +00:00
skrll
ac34435581 Remove port-acorn26
OK core@
2018-01-24 09:04:40 +00:00
sevan
0f795805f6 Missed another main() prototype. 2018-01-23 23:02:40 +00:00
sevan
23b04ffd61 Restore rcstag. 2018-01-23 22:40:06 +00:00
sevan
7a75668892 drop main() prototype 2018-01-23 22:12:52 +00:00
sevan
4e188220ed More K&R style prototypes missed in the previous run 2018-01-23 21:27:20 +00:00
sevan
421949a31f ansify - drop the K&R style prototypes & implementations. 2018-01-23 21:06:24 +00:00
sevan
179d97fa32 Ansify 2018-01-23 19:01:33 +00:00
joerg
be61e1101a Ignore pragma warnings with clang for the zfs code. 2018-01-22 01:34:42 +00:00
maxv
d569f28840 Fix build failure, the structure is already defined now. 2018-01-19 14:30:09 +00:00
christos
2966117648 PR/47615: Dr. W. Stukenbrock: Always zero out the result structs in the
svc procs to avoid returning stale request data to the client.
XXX: pullup-6,7,8
2018-01-17 03:16:10 +00:00
mrg
8ea873287d implement cpuctl identify for sparc and sparc64.
sparc:
- move enum vactype and struct cacheinfo into cpu.h
- move the cache flags from cpuinfo.flags into CACHEINFO.c_flags
  (this allows the new cache_printf_backend() to see them.)
  remove unused CPUFLG_CACHEIOMMUTABLES and CPUFLG_CACHEDVMA.
- align xmpsg to 64 bytes
- move cache_print() into cache_print.h so it can be shared with
  cpuctl.  it only depends upon a working printf().
- if found, store the CPU node's "name" into cpu_longname.  this
  changes the default output to show the local CPU not the
  generic CPU family.  eg:
  cpu0 at mainbus0: mid 8: Ross,RT625 @ 90 MHz, on-chip FPU
  vs the generic "RT620/625" previously shown.
- for each CPU export these things:
  - name
  - fpuname
  - mid
  - cloc
  - freq
  - psr impl and version
  - mmu impl, version, and number of contexts
  - cacheinfo structure (which changed for the first time ever
    with this commit.)

sparc64:
- add a minimal "cacheinfo" structure to export the i/d/e-cache
  size and linesize.
- store %ver, cpu node "name" and cacheinfo in cpu_info.
- set cpu_info ver, name and cacheinfo in cpu_attach(), and
  export them via sysctl, as well as CPU ID and clock freq

cpuctl:
- add identifycpu_bind() that returns false on !x86 as their
  identify routines do not need to run on a particular CPU to
  obtain its information, and use it to avoid trying to set
  affinity when not needed.
- add sparc and sparc64 cpu identify support using the newly
  exported values.
2018-01-16 08:23:17 +00:00
maya
e3a81445cb Returns void, mark noreturn.
From Eitan Adler in PR bin/52925
2018-01-16 07:57:58 +00:00
christos
243229af21 avoid passing literal string to unconst. 2018-01-15 14:38:06 +00:00
christos
651232dac7 sprinkle unconst 2018-01-15 00:46:16 +00:00
uwe
252235664d .An -nosplit 2018-01-14 03:17:28 +00:00
uwe
f989de5924 Fix accidental trailing whitespace. 2018-01-14 03:14:46 +00:00
uwe
842435d53f Vertical space before an example in .Dl 2018-01-14 03:09:47 +00:00
uwe
c74ee2dcc5 .An -nosplit 2018-01-14 02:54:55 +00:00
mrg
faba61de75 note the default path for ucode updates can be found in sysctl. 2018-01-14 00:45:54 +00:00
christos
d131c53716 add more __dead/EXIT_FAILURE 2018-01-13 12:36:35 +00:00
nat
ffcb8cef5c Set size of mtusize before calling getsockopt to obtain mtu size. 2018-01-13 10:20:45 +00:00
christos
47cdb20d40 missing printflike 2018-01-12 17:54:36 +00:00
christos
d7d7f74c03 sprinkle __dead, use EXIT_{SUCCESS,FAILURE} 2018-01-11 13:44:26 +00:00
msaitoh
5bd8e5c45d Print Intel cpuid 7 %edx.
Example output of cpuctl -v identify 0:

+cpu0: 00000007: 00000000 000027ab 00000000 0c000000
(snip)
+cpu0: SEF edx 0xc000000<IBRS,STIBP>
2018-01-10 07:08:35 +00:00
martin
1e774d3bb5 Use fseeko instead of fseek to fix the build on some 32bit architectures 2018-01-09 10:47:57 +00:00
wiz
f24dbfeb68 File system police. Add RCS Id. Improve SYNOPSIS. Use more markup. 2018-01-09 09:41:29 +00:00
wiz
2df58e1698 File system police. Sort options. Add RCS Id. Use more markup. Wording. 2018-01-09 09:39:07 +00:00
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