maxv
187c068ea2
When IP6_EXTHDR_GET fails, return ENOBUFS, and don't log an error (HDROPS
...
is not supposed to be used here).
2018-05-01 08:27:13 +00:00
martin
72be6dafa1
Make the "gpt header" command return EXIT_FAILURE when no GPT is present.
...
This helps sysinst to tell a GPT labeled disk from others.
Very lazy version of a change proposed by kre.
2018-05-01 08:17:13 +00:00
maxv
84a7697bfe
When the replay check fails, return EACCES instead of ENOBUFS.
2018-05-01 08:16:34 +00:00
maxv
82314dff45
Remove double include, opencrypto/xform.h is already included in
...
netipsec/xform.h.
2018-05-01 08:13:37 +00:00
maxv
c802aa1f31
Remove unused.
2018-05-01 08:08:46 +00:00
maxv
86ac125b49
Remove now unused net_osdep.h includes, the other BSDs did the same.
2018-05-01 07:21:39 +00:00
maxv
0281c2ccfc
Remove unused alias to tcpiphdr.
2018-05-01 07:07:00 +00:00
ragge
46b98f9cd0
Enable ffsv2 in boot.
2018-05-01 07:03:47 +00:00
maxv
ba0005f35a
Redefine the structure, not to rely on tcpiphdr.
2018-05-01 07:03:33 +00:00
maxv
218f7f4f8d
Move if_name() from net_osdep.h to if.h. net_osdep.h is now unused and can
...
be removed - the other BSDs did the same.
Discussed with Kengo (if.h suggested by him).
2018-05-01 06:50:06 +00:00
maxv
a7d0cc8839
Fix the checks in compute_ipsec_pos, otherwise m_copydata could crash. I
...
already fixed half of the problem two months ago in rev1.67, back then I
thought it was not triggerable because each packet we emit is guaranteed
to have correctly formed IPv6 options; but it is actually triggerable via
IPv6 forwarding, we emit a packet we just received, and we don't sanitize
its options before invoking IPsec.
Since it would be wrong to just stop the iteration and continue the IPsec
processing, allow compute_ipsec_pos to fail, and when it does, drop the
packet entirely.
2018-05-01 05:42:26 +00:00
nonaka
3d708747ff
gmake: Revert configure r1.2 and configure.in r1.2.
...
> gmake: Apply patch to support GLIBC glob interface v2
>
> http://git.savannah.gnu.org/cgit/make.git/commit/?id=48c8a116
>
> Fix a build failure on Ubuntu 18.04.
Don't apply an imcompatible license patch.
2018-05-01 00:39:58 +00:00
nonaka
f39e32fc5f
gmake: Revert dir.c r.1.2.
...
> gmake: Make this work with glibc glob interface v2
>
> http://git.savannah.gnu.org/cgit/make.git/commit/?id=193f1e81
Don't apply an imcompatible license patch.
Reported by kamil@n.o.
2018-05-01 00:36:57 +00:00
christos
b2a8932dbe
PR/53238: Robert Elz: Disable MKREPRO in tools; the host compiler might
...
not support the necessary options. This is done thusly:
1. Set MKREPRO=no in Makefile.host. This handles all the Makefiles that
use it and don't include bsd.own.mk.
2. Create Makefile.inc and set MKREPRO=no in it. Change the Makefiles that
include bsd.own.mk, to include bsd.init.mk which includes Makefile.inc
first. This will also allow us to control other tools options from a
single location if we need to.
XXX: pullup-8
2018-05-01 00:04:34 +00:00
sevan
a492831e1e
The secret key is required for decryption and signing. Indicate it by setting
...
the "need seckey" variable before calling init.
2018-04-30 22:17:46 +00:00
sevan
b3cd80a889
Unbreak script for Lua 5.3.
...
This change breaks support for older releases of Lua but it is deemed ok.
2018-04-30 21:40:59 +00:00
sevan
53551a9acb
netpgp(3lua)
2018-04-30 21:02:39 +00:00
jmcneill
76e891a854
titemp_match: filter on ia_addr for indirect config (device is expected at 0x4c)
2018-04-30 20:37:01 +00:00
jmcneill
45d3983956
tcakp_match: filter on ia_addr for indirect config (device is expected at 0x34)
2018-04-30 20:33:09 +00:00
jmcneill
4e68763978
act8846_match: filter on ia_addr (device is expected at 0x5a)
2018-04-30 20:26:09 +00:00
martin
07ee4691f0
Add missing netpgp.html (for new lua binding)
2018-04-30 09:59:09 +00:00
wiz
dd78489d38
Fix copyright year. Fix whitespace, slightly improve wording.
2018-04-30 07:10:04 +00:00
ragge
e2e66973ed
Kernel linker support for vax. Now modules can be loaded again.
...
XXX - should keep modules on physical segment instead of in KVM.
2018-04-30 06:46:12 +00:00
htodd
1445257feb
Fix typo in Makefile to fix build.
2018-04-30 05:23:08 +00:00
mlelstv
1e068e7704
add missing KERNEL_LOCK protection around autoconf calls.
...
Also replace NULL argument with curlwp for style.
2018-04-30 05:04:34 +00:00
nonaka
a637d6f757
gmake: Make this work with glibc glob interface v2
...
http://git.savannah.gnu.org/cgit/make.git/commit/?id=193f1e81
2018-04-30 04:17:27 +00:00
maya
f6441f73b5
Remove set but not used sc_flags.
...
Built tested only.
2018-04-30 01:14:07 +00:00
sevan
823aeb5398
Add a manual for netpgp(3lua)
2018-04-30 01:10:13 +00:00
sevan
b05246b276
sign_file function expects 5 parameters, include the output filename.
2018-04-29 23:30:59 +00:00
sevan
06d8aeb822
Hello netpgp(3lua)
2018-04-29 19:47:34 +00:00
sevan
88f8705bc9
Add support for Lua 5.3
2018-04-29 19:34:57 +00:00
sevan
c912c8ab8d
Enable checking arguments for validity.
2018-04-29 19:31:38 +00:00
sevan
00192c93dd
Utilise the passed output filename rather that using a hardcoded name
2018-04-29 19:28:11 +00:00
ragge
7fbf6189d2
Fix bug causing small constants not to be printed out.
2018-04-29 19:01:15 +00:00
jmcneill
bf77b4887b
Install ARM ACLE and NEON intrinsics headers on aarch64.
2018-04-29 18:29:29 +00:00
christos
58cf2108e5
print the mprotect perm argument symbolically.
2018-04-29 18:00:31 +00:00
jmcneill
e9bedda7d9
Add some compat stubs for aarch64. Not providing any actual compatibility
...
with old binaries (there are none), but having these symbols helps GNU
configure scripts.
2018-04-29 17:47:06 +00:00
christos
fef18fab8e
fix the build: tcpiphdr is now defined in tcp_var.h and tcp_var.h needs
...
tcp_timer.h. This struct move is more trouble than its worth. It breaks
header compatibility with other BSD's and can't be really removed because
it is an installed header that will break other 3rd party software. I
suggest that it gets reverted!
2018-04-29 15:59:07 +00:00
christos
c796a4efe9
keep going if there is a CVS directory already, but warn
2018-04-29 15:47:01 +00:00
maxv
417565290f
Remove useless icmp6.h include, remove manual externs and include in6.h
...
to get proper definitions, and remove duplicate logic in
ipsec6_common_input_cb.
2018-04-29 14:54:09 +00:00
maxv
fa4d17703e
Remove obsolete/dead code, the IP-in-IP encapsulation doesn't work this
...
way anymore (XF_IP4 partly dropped by FAST_IPSEC).
2018-04-29 14:35:35 +00:00
sevan
d57d6d22a8
Add the following functions to the list (TODO - add descriptions)
...
netpgp_unsetvar
netpgp_list_keys_json
netpgp_match_keys
netpgp_match_keys_json
netpgp_match_pubkeys
netpgp_validate_sigs
netpgp_format_json
Remove netpgp_match_list_keys() as function does not exist
Add missing output file to netpgp_verify_file() argument list
Sprinkle const to arguments
2018-04-29 14:21:16 +00:00
kamil
66a7857d57
Add two new ptrace(2) ATF tests
...
Added:
- traceme_pid1_parent
Assert that a process cannot mark its parent a debugger twice
- traceme_twice
Verify that PT_TRACE_ME is not allowed when our parent is PID1
All tests pass.
Sponsored by <The NetBSD Foundation>
2018-04-29 13:56:00 +00:00
maxv
24e9c1c9d0
Move struct tcpiphdr from tcpip.h to tcp_var.h, to match UDP (udpiphdr in
...
udp_var.h).
tcpip.h is now empty, and can be removed.
2018-04-29 12:12:42 +00:00
ryo
c16ac9a2d9
fix KASSERT panic. pv_entry may not be exists in pvlist when pmap_remove().
2018-04-29 12:07:05 +00:00
ryo
591dd654f8
delete unused code
2018-04-29 12:05:39 +00:00
maxv
d920327205
Remove unused and misleading argument from ipsec_set_policy.
2018-04-29 11:51:08 +00:00
maxv
dfacb206a8
Remove unused function.
2018-04-29 11:42:09 +00:00
maxv
dc72a4cb13
Remove duplicate prototype.
2018-04-29 07:24:38 +00:00
maxv
8fc5fcd18c
Add missing pserialize_read_exit in error branch, spotted during my
...
previous commit.
2018-04-29 07:16:28 +00:00