Commit Graph

12564 Commits

Author SHA1 Message Date
msaitoh 9007cd7213 s/successfuly/successfully/ in comment. No functional change. 2020-06-22 07:50:53 +00:00
rin d1e359b744 Fix do_blocklist:
- Respect destination directory specified by -d option.
- Accept check and fix options. For the former, do not modify anything as
  users normally expect.
2020-06-22 06:55:41 +00:00
thorpej 696896edc9 Add evbmips support for u-boot handling. 2020-06-21 17:17:01 +00:00
riastradh dd58a4a54e Nix trailing whitespace. 2020-06-20 18:30:53 +00:00
uwe 55f4124e32 Use ?:: modifier instead of .if to check for ipv6.
This way we don't have to include bsd.init.mk early.
2020-06-19 01:19:50 +00:00
kamil aa97815be0 Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users
via <rump/rump.h>.
2020-06-17 00:16:21 +00:00
wiz 20648b583d Use more markup. Bump date for previous. 2020-06-16 14:26:39 +00:00
sborrill 0a7bddaaad Describe correctly how whitespace is formatted as the docs did not
match the source.
2020-06-16 13:34:38 +00:00
christos e9d9ed6853 handle /etc/blacklistd.conf 2020-06-15 21:56:49 +00:00
christos 8751c455bb correct blocklist script
- removal of rc file is handled by obsolete
- use grep to find if we need more changes
- fix rc population
2020-06-15 21:51:13 +00:00
riastradh 6c262685f8 Nix trailing whitespace. 2020-06-15 20:27:30 +00:00
christos 8f201cf281 fix reversed mv, pointed out by wiz@ 2020-06-15 14:32:07 +00:00
christos 5b4fdaddb2 deal with blacklist -> blocklist 2020-06-15 14:25:40 +00:00
sborrill 39dc86037f Add show subcommand that displays the codec configuration in
human-readable tabulated form
2020-06-15 13:06:39 +00:00
tsutsui 66219e6fed Explicitly print a fs image filename on "fs image is too big" errors.
This will help future analysis of build errors caused by bloated
embedded ramdisk images and possible but unexpected other binaries.

Proposed on port-mips@ in discusson about ews4800mips daily build errors:
 https://mail-index.netbsd.org/port-mips/2020/06/14/msg000950.html
and "Yes please!" from martin@.
2020-06-14 18:24:21 +00:00
uwe 44ebef0f33 Support optional square brackets around the host name.
The brackets are required when using numeric IPv6 addresses as they
contain colons as part of their syntax.  We do not enforce that the
thing in the brackets is a numeric IPv6 address - this matches scp
syntax and behavior.
2020-06-14 00:30:20 +00:00
uwe 943a91a810 Remove -46 from the -c usage. While here, sync usage with man page
(s/devfile/device).
2020-06-13 21:23:27 +00:00
wiz e38e8568c9 Add -46 to usage. 2020-06-13 16:56:46 +00:00
uwe b37b5fea79 Support IPv6.
Use getaddrinfo(3).  Add -4 and -6 command line options.  Obey USE_INET6.
2020-06-13 13:45:06 +00:00
roy 73dd2b525a ndp: Sync usage and SYNPOSIS with reality 2020-06-12 21:08:02 +00:00
roy b05648aa26 Remove in-kernel handling of Router Advertisements
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
2020-06-12 11:04:44 +00:00
tsutsui 089d36aae0 MBR type for Ext2 should be MBR_PTYPE_LNXEXT2, not MBR_PTYPE_FAT12. 2020-06-10 16:56:22 +00:00
tsutsui 08529c6341 Change mountpoint of boot ext2fs from /stand to /ext2 to avoid conflict.
Should be pulled up to netbsd-9, with fixes of PR/55060.
2020-06-10 16:26:33 +00:00
thorpej abcb66ec85 Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
thorpej bba3c68329 Update for proplib(3) API changes. 2020-06-07 00:51:48 +00:00
thorpej bcd1eb151d Update for proplib(3) API changes. 2020-06-07 00:12:00 +00:00
thorpej aebbed3d12 Update for proplib(3) API changes. 2020-06-06 22:33:23 +00:00
wiz 55eb855c31 Use more markup. 2020-06-06 20:38:00 +00:00
wiz c65439fe2c Reduce macro arguments. 2020-06-06 20:30:23 +00:00
tsutsui c332e97e6f Fix ews4800mips example. Its raw partition is rsd0p, not rsd0c. 2020-06-06 10:22:45 +00:00
roy caa3531473 Ensure the dhcpcd log socket is removed. 2020-06-03 11:47:46 +00:00
kamil 16b0614b43 Register ppoll 2020-06-02 15:43:26 +00:00
uwe e03c12d8dc Fix extra whitespace added by accident. 2020-06-01 13:30:52 +00:00
msaitoh 774fa17d8b Add 0xa5 and 0xa6 for Comet Lake. 2020-06-01 08:33:40 +00:00
tnn e097843b4c npf-params.7: s/filer/filter/ 2020-05-31 16:32:07 +00:00
rmind a55d34090b npf-params(7): fix the state.key defaults. 2020-05-31 15:57:15 +00:00
roy 2fc8fc72fa postinstall: Move files out of dhcpcd chroot 2020-05-31 13:45:47 +00:00
nat b35a6d5b1b Avoid running of the end of the array if a file cannot be opened.
Found by plunky@.
2020-05-31 06:17:23 +00:00
rmind 231831948d npftest -- npf_test_init(): add a workaround for NetBSD. 2020-05-30 21:00:31 +00:00
rmind b899bfd96f Major NPF improvements (merge from upstream):
- Switch to the C11-style atomic primitives using atomic_loadstore(9).

- npfkern: introduce the 'state.key.interface' and 'state.key.direction'
  settings.  Users can now choose whether the connection state should be
  strictly per-interface or global at the configuration level.  Keep NAT
  logic to be always per-interface, though.

- npfkern: rewrite the G/C worker logic and make it self-tuning.

- npfkern and libnpf: multiple bug fixes; add param exporting; introduce
  more parameters.  Remove npf_nvlist_{copyin,copyout}() functions and
  refactor npfctl_load_nvlist() with others; add npfctl_run_op() to have
  a single entry point for operations.  Introduce npf_flow_t and clean up
  some code.

- npfctl: lots of fixes for the 'npfctl show' logic; make 'npfctl list'
  more informative; misc usability improvements and more user-friendly
  error messages.

- Amend and improve the manual pages.
2020-05-30 14:16:56 +00:00
uwe 3cee218d31 Initialize puffs9p::server (though it's not used anywhere). 2020-05-30 02:53:30 +00:00
uwe 2da8d56162 Provide list of options for ease of reference. 2020-05-30 00:00:35 +00:00
uwe 22cb1031f1 Fix vio9p device name in a comment. 2020-05-29 23:49:08 +00:00
jmcneill c34f2808e8 DTB are no longer part of kernel set 2020-05-29 10:25:06 +00:00
jmcneill 03c974c07b Set HAVE_INSTALL_IMAGE for evbarm 2020-05-28 19:03:09 +00:00
jmcneill ec07eed79a Remove "If you booted from a floppy" message 2020-05-28 19:00:52 +00:00
uwe 63a7cdaa84 Do not send dummy Tauth, it's completely unnecessary.
The best way to not use authentication is to not use authentication.
Cf. http://man.cat-v.org/plan_9/5/attach
2020-05-28 14:00:05 +00:00
uwe 3e763228f4 puffs9p_node_rename - 9P rename is done with Twstat and can only
change the last pathname component.  Return EXDEV for attempts to move
a file to a different directory to make mv(1) fall back to copying.
2020-05-27 03:25:13 +00:00
uwe 8deaf9c1c0 noderemove - do not call puffs_setback here. noderemove is called
from rename (for existing target) and calling setback is not
appropriate in that context.  Do that call instead directly in the
callers (remove, rmdir).

From Nicola Girardi, part of PR/54829.
2020-05-27 00:36:07 +00:00
uwe b2db326b70 puffs9p_node_rename - noderename takes puffs_node, not p9pnode, but
this goes undetected b/c pn_data we pass is a pointer to void.

From Nicola Girardi, part of PR/54829.
2020-05-27 00:05:22 +00:00