Commit Graph

1914 Commits

Author SHA1 Message Date
kardel 8d09e35dad Import ntp 4.2.4p8 2009-12-08 20:41:03 +00:00
martti 1a30996c87 Removed obsolete files. 2009-12-02 15:21:37 +00:00
martti 495b1f79b1 Initial version. 2009-12-02 15:07:09 +00:00
martti 77ad51d8d2 Initial version. 2009-12-01 06:27:57 +00:00
tnozaki b95326704e don't use pathname directly as msgq()'s first argument of format string. 2009-11-24 13:12:01 +00:00
christos 052751eb98 Better fix for PR/42320 by Takehiko NOZAKI. 2009-11-21 17:57:09 +00:00
christos 0e17d27172 PR/42320: Alexander Nasonov: According to:
http://www.opengroup.org/onlinepubs/7990989775/xcu/awk.html
the LC_NUMERIC decimal point recognized is always period. Make it so.
2009-11-15 21:56:06 +00:00
dsl b87a655a0d Fix all formats for 64bit builds 2009-11-15 18:43:28 +00:00
dsl 08ad4f398f Need %zu for size_t 2009-11-15 18:23:08 +00:00
christos 55e651517c one more printf like function, and fix the lossage. 2009-11-14 23:40:11 +00:00
christos 1070653ee5 Add a gcc printf attribute to the printf functions and fix the lossage caught. 2009-11-14 23:31:37 +00:00
tnozaki 6114d6b7fd fix format string bug, filename may contain % character, don't use it as format string. 2009-11-14 20:01:20 +00:00
snj 9251f9d10e Drop 3rd and 4th clauses, as the copyright holder (Michael Shalayeff) did
in OpenBSD revision 1.5.
2009-11-03 01:13:38 +00:00
joerg 68825f5128 Fix markup. Fix backslashes to surive roff. 2009-11-02 00:40:23 +00:00
dsl ba3675f1ae Fix regexp on LP64 systems.
By the time 'states1' was expanded, it became 'char *' so the code tried
to put 64 bits into an int!
Fixed PR/41924
2009-10-31 20:11:53 +00:00
dsl f4f40b1fe1 Save command in :w !<command> for later :w !!
Fixes PR/8169
2009-10-31 14:30:55 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
joerg de3dbb6818 Garbage collect left-overs, iscsi moved to src/external/bsd/iscsi. 2009-10-24 20:07:48 +00:00
joerg 3f2534b357 Use actual comments to comment blocks and don't leave empty lines in the
output.
2009-10-21 22:56:56 +00:00
tnn e0331d273d Print a warning if TERM is not set and stdin is a tty. PR bin/42144. 2009-10-20 16:17:07 +00:00
rmind 993cb03302 Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
snj 9c801b488e This hasn't been used in a while. Long live external/bsd/file! 2009-10-17 23:05:32 +00:00
joerg 2d19820108 Kill bad tab in markup. 2009-10-15 02:18:22 +00:00
joerg 18654546a6 Fix markup. 2009-10-15 00:16:28 +00:00
joerg 98ae2d6073 Do not use .Xo/.Xc to workaround ancient groff limits. 2009-10-14 17:44:25 +00:00
joerg 3f3c419d37 Fix markup. 2009-10-14 17:35:41 +00:00
pooka 4be222467f fix prototypes of function pointers to varargs syscalls 2009-10-13 22:04:31 +00:00
joerg 3c1f1e4f21 .Xr takes two arguments only. 2009-10-04 18:07:26 +00:00
bouyer 31c07c3453 Fix pcap_lookupnet(): reset ifr before SIOCGIFNETMASK. Without it we get
back a bogus netmask.
2009-09-29 19:00:45 +00:00
he 1a0a5901b1 Print an explicit 64-bit type with %PRIu64, not with %llu, so that
this builds on our LP64 ports as well.
2009-09-14 15:18:15 +00:00
degroote 33e10c238e Improve the pfsync(4) man page
hostname.if(5) is ifconfig.if(5) on NetBSD
Don't speak about enc, as we don't support it at the moment
Make clear that we don't support ipsec protection of pfsync traffic (as long we
doesn't support enc, or similar thing)

Catched by wiz@
2009-09-14 11:45:01 +00:00
wiz f41e8ac844 <>& -> \*[Lt]\*[Gt]\*[Am]
Bump date for pfsync(4) link.
2009-09-14 11:17:49 +00:00
wiz f8b0915e76 Fix Dd argument. 2009-09-14 11:17:42 +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
wiz 136eb7e035 We install this as tcpdump(8), so the internal name should be (8) as well.
Fix it. From Jukka Ruohonen.
2009-09-10 15:02:49 +00:00
wiz 177b015b5d Remove references to securelevel(7) and ssl(8), which don't exist.
From Jukka Ruohonen.
2009-09-10 13:17:39 +00:00
pooka 0a69bf315a Fill canon_dev so that mntfromname gets properly set for p2k mounts.
Fixes problem pointed out by Nicolas Joly.

XXX: would probably be better to forget canon_dev from the parseargs
interface completely and do rump_sys_statvfs() in p2k after mounting
the fail system in the virtual kernel.
2009-09-07 13:52:05 +00:00
pooka 7fa79282e3 kill #ifndef __NetBSD code (yea, I assume it meant __NetBSD__) 2009-09-06 20:07:03 +00:00
pooka f9d2118130 Implement smbfs kernel operations (ioctl etc.) through a vector of
function pointers instead of direct linkage so that rump syscalls
are possible.
2009-09-06 18:38:17 +00:00
pooka 6ad3a66ac7 Don't use select() to wait for a single socket, just set SO_RECVTIMEO. 2009-09-06 17:02:36 +00:00
pooka 4f4e18947d Make mount_smbfs follow the standard MOUNT_NOMAIN and parseargs() structure.
(yes, this is dist, but considering the last and only import from
upstream was 7 years ago, I'm not exactly worried this will make
importing future versions harder)
2009-09-04 18:22:37 +00:00
tnozaki 3b1fe73ae9 fix bin/41781, the pattern /\$/ doesn't match a dollar sign anymore by default. 2009-08-30 14:57:51 +00:00
joerg af33c2556a Duplicate .TP. 2009-08-22 00:20:50 +00:00
he b65d082e72 The type of iplf_count is u_int, not size_t, so print with %u, not %zu. 2009-08-20 08:12:05 +00:00
darrenr df16b421e0 When preparing ipfilter to import, remove files that are not related to
NetBSD in any way (such as those for Linux, Solaris, etc.)
2009-08-19 18:51:24 +00:00
martti 28de1fee02 IPF 4.1.33 2009-08-19 09:35:01 +00:00
darrenr aa4e57639b Update head to version 4.1.33 from vendor branch 2009-08-19 08:35:30 +00:00
darrenr 1098c7bfb7 Import IPFilter 4.1.33
4.1.33 - Release 16 August 2009

2837931 wrong mode selected in ipf program for hash-entries
2826168 load_http can make ippool core dump
2825150 IPL_LOGMAX used to index some arrays
2825084 ipv6 fragments should not be allowed past 64k
2824713 ipfstat top output alternates between entries and nothing
2824712 ipfstat top output is shows negative ttl
2820965 a single bad ipv6 extension header should not impact others
2818197 ignored fragment bits defined as being reserved
2817667 IPv6 fragment header verification needs attention
2817098 fr_getrulen() finds the wrong rule
2817096 fr_rulen is unused
2741019 Lingering states (Established/Listen - 5/0) in state table
2702887 use of PBR/fastroute causes panic with ipv6
2671913 regression test in7 fails to execute
2598625 parsing empty config file results in an error
2698656 test parsing empty config files
2597956 not all pointers in a clone are reset
2543934 nat_t gets assigned ifp too early
2535795 No need to always bump fr_ref
2535778 Bad IPv6 packets droped by default
2031730 4.1.31 Nat drops fragmented packets after the first
2214661 ipf does not handle IPv6 fragments
2473273 NAT removed before RST/ICMP sent
2216500 fin_state serves no purpose
2424604 adding random MD5 data causes panic
2304435 Ineffecient lock usage in logging
2216491 fin_nat serves little purpose
2055619 duplicating a free-d packet will fail
2042949 Excessive locking when creating nat_t
2035610 nat_update does not need to get locks
2214658 ipf mostly ignores locking in NetBSD
1979427 Memory leak in user utilities - token never freed (rel br)
* SunOS4 does not have a curproc, but it does have u.
* The fix for 2020447 generated random port numbers but not within the
  range specified in the map rule.  Add in a regression test to verify
  that the "random" part works.
2020447 NAT can undo name server random port selection
1988795 NetBSD does not build with kernel malloc stats
1988782 fr_movequeue can take a short cut
1988669 first nat creation failure prevents further success
1988668 hostmap searching does not work properly
* on some 64bit architectures (such as alpha), the addrfamily_t is packed
  differently, throwing off the calculations for adf_len
* one too many READ_ENTERs in ip_sync code.
* clean up fr_fastroute a little by removing some #ifdefs and pushing the
  code around a bit to use the same variables (NetBSD)
* more recent NetBSDs use VOP related macros differently
2009-08-19 08:28:39 +00:00
aymeric 46545ebf5c bump to nb5:
. :ESC works again
. #+ and #- work again
2009-08-11 21:42:03 +00:00
aymeric 7963ec5bf2 . adding STRCHR variants to common/multibyte.h for the benefit of
. making #+ and #- work again in vi/v_increment.c
2009-08-11 21:28:02 +00:00
aymeric b8018f6743 in v_ecl(), copy the converter from the shadow screen initialized in
v_ecl_init(), so that history can be displayed and edited.

Which means, :ESC works again.
2009-08-11 21:24:49 +00:00
minskim 0997da05f2 Correct the #ifdef test for struct ifdatareq. 2009-08-07 16:37:12 +00:00
lukem 86814cdb3c Crank version to nb4 2009-08-07 16:32:43 +00:00
lukem ddff3f7108 Rename "expandtabs" to "expandtab" to match documentation (and vim,
where I got the idea from).
Actually implement the "et" abbreviation for expandtab.
2009-08-07 16:19:53 +00:00
christos 2ba3b8f193 constify for new openssl 2009-07-20 18:44:09 +00:00
tonnerre 7c437b76bb Fix behavior of dhcpd in the case where clientid and hardware ethernet
definitions are mixed. Fixes a refcount assertion.
2009-07-16 22:44:27 +00:00
christos 6c781e23d6 use the proper structure to get interface data. We depend on having the
NetBSD-specific ZIFDATA call to do the selection of the ioctl style.
From Patrick Welche.
2009-07-15 18:05:17 +00:00
apb 97f740f02b Add missing close quote in a usually-unreached part of an #if block.
Part of PR 41255 from Kurt Lidl.
2009-07-14 20:56:12 +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
snj 55f8c3946f Fix two problems in a conditional:
- __NetBSD__Version__ -> __NetBSD_Version__
- ">= 599001200" -> "< 599001200"

This worked on current because of the __ typo.

Spotted by Geoff Wing.
2009-07-02 01:43:15 +00:00
njoly 922011108e Do set error for SMBIOC_LOOKUP ioctl failure in *SMBSERVER fallback. 2009-06-26 22:41:26 +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
christos 96a538bff1 Limit the length of the address mask before we copy it. 2009-06-23 19:50:50 +00:00
agc d94c46b0c4 Apply some fixes from HEO SeonMeyong to allow the iSCSI target to build
and operate on Mac OS X - with apologies for taking so long to apply them.
2009-06-23 05:11:46 +00:00
agc cacd735007 Simplify one routine 2009-06-23 05:08:22 +00:00
christos ac0ec62cd0 PR/40689: Nicolas Joly: awk(1) trashes memory with RE and ^ anchor
Another place to special-case HAT.
2009-06-21 20:08:44 +00:00
christos dc05b09461 PR/30294: John Darrow: nawk doesn't handle RS as a RE but as a single character 2009-06-20 23:23:12 +00:00
agc ea75669735 WARNS=4 (all sign-comparison changes) 2009-06-19 16:13:09 +00:00
christos 94e9d9b7f6 fix EOF/-1 portability. 2009-06-16 13:56:09 +00:00
minskim bea661fe98 Reduce diff with OpenBSD. No functional change. 2009-06-16 05:16:52 +00:00
minskim da9817918e Reduce diff with OpenBSD by deleting whitespace. 2009-06-16 02:18:07 +00:00
christos efdd16fa99 <= 2, from jukka salmi 2009-06-15 20:09:36 +00:00
christos ba7ea1e3fb purge/flush 0,1,2 since we did not open them, we should not be closing them.
s/EOF/-1/ as the documentation for fclose/pclose states.
2009-06-14 21:05:40 +00:00
kardel 4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
kardel be2dbc8357 Import ntp 4.2.4p7 2009-06-13 09:17:42 +00:00
ad d991fcb3b6 More changes to improve kern_descrip.c.
- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.
2009-05-24 21:41:25 +00:00
christos 91805f2d22 Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote
attacker can send a specially constructed request packet that would
overflow the sprintf()'ed buffer causing ntpd to crash.

XXX: Pullup to 5.x
2009-05-20 01:37:36 +00:00
wiz 983cc93f85 Sort SEE ALSO. 2009-05-18 14:11:30 +00:00
roy 45d9fd18a3 Use new way of associating, which fixes wpa with ral(4) 2009-05-13 11:57:16 +00:00
he e437fa175c Now that we have strnlen() in libc, get rid of the local
and type-conflicting implementation here instead of fixing
it locally.  I don't think (hope!) this is size-critical.
2009-05-10 22:03:22 +00:00
christos 9371e91bff reorder code to avoid uninitalized variable. 2009-05-08 12:06:11 +00:00
christos 3fde99f00c - prevent buffer overflow from Maksymilian Arciemowicz (worst case was 1041
characters and we allocated only 1024.
While here:
- use snprintf to prevent this from happening in the future.
- don't close fd twice on error.
- pass unsigned char to ctype.h functions.
2009-05-07 21:07:34 +00:00
wiz 8da40e7f0e Remove trailing whitespace. 2009-05-04 21:09:12 +00:00
wiz b10ceebb6d New sentence, new line. 2009-05-04 19:52:34 +00:00
reed 9fc4d3902e Fix roff formatting for ->
by adding an \ such as document in mdoc.7

This was reported in 41276
2009-04-24 16:48:58 +00:00
mrg 8cf404da0f add a NetBSD_DISABLED_* target for config.h.in. 2009-04-19 10:22:10 +00:00
tnozaki 41a9bd5969 fix reliability issue.
if wcwidth(3) return -1, nvi may crash by memory fault.
2009-04-19 02:28:19 +00:00
christos 6757e2669a delete old bind 2009-04-18 13:06:47 +00:00
dogcow c96865e412 more -Wsign-compare fixes. 2009-04-18 06:37:35 +00:00
christos 39a569fdc2 Fix:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-0159
Using:
    https://support.ntp.org/bugs/show_bug.cgi?id=1144
XXX: Pullup to 5.x
2009-04-17 02:45:55 +00:00
tnozaki 4bdba43474 fix PR/41136: \<word search doesn't work in vi
don't reuse RCHAR_T(=wchar_t)'s bits, CSI wchar_t is opaque object.
2009-04-12 14:47:51 +00:00
lukem eb2de0beef Resolve -Wcast-qual issues. 2009-04-11 11:10:43 +00:00
kefren 430d7ee47c fix null references introduced while merging bzip2 1.0.5
fixes PR/41032
ok christos@
2009-04-06 19:33:22 +00:00
joerg 3e0637e9dd libarchive moved to src/external a while ago. 2009-04-06 15:05:52 +00:00
christos b01113f755 use the proper status variable. 2009-04-05 17:33:11 +00:00
jld 09d4e48298 Make vi's '@' command work again; a precedence warning fix in r1.2 added
parens in the wrong place such that '@' did nothing.  Needs pullup to -5.

Reported by Ed Ravin; fixes PR 41134.
2009-04-04 01:13:42 +00:00
perry 4bfc10355c add missing commas to .Dd fix, pointed out by wiz 2009-03-22 14:29:34 +00:00
perry c8a35b6227 OpenBSD uses a custom CVS hack to handle Dd fields ($Mdocdate$) which
we don't have. Replace ".Dd $Mdocdate" with ".Dd Month Day Year" so
that the date comes out right when man pages get built. This will
doubtless need hand conflict resolution whenever these pages are
re-imported.

Note that it would be interesting to have some similar facility for
NetBSD, but I don't think a custom rcs keyword is the right thing --
maybe we can teach groff to parse $Date$
2009-03-21 00:15:52 +00:00
perry 74c461bcb0 Disable inclusion of __DATE__ in the version string. 2009-03-20 21:25:24 +00:00
tsutsui ce059cd609 Fix bad TCP checksum in packets with IP option header. 2009-03-17 10:10:20 +00:00
joerg 9a62852c21 Specify width for tag list. 2009-03-15 15:16:58 +00:00
njoly 56695ef522 In is_number(), do not check strtod() result against HUGE_VAL which
will result in a SIGFPE on non IEEE hardware. Instead, check the
provided buffer for "nan" string.

This make native build work again on alpha.
2009-03-12 13:04:01 +00:00
christos ba6a866c95 semi-colon before charset. From Anon Ymous 2009-03-11 01:08:23 +00:00
joerg 997634fe14 Fix preamble to match order set out by mdoc(7). Discussed with wiz. 2009-03-09 19:24:26 +00:00
christos 29e4b0fb40 eliminate hacky memory allocation that loses on 64 bit archs with alignment
issues.
2009-03-06 21:36:25 +00:00
apb 55a5451b03 #include <sys/param.h>, in case it defined MIN and MAX. (Later in this
file, we conditionally define MIN and MAX.)

Including sys/param.h unconditionally like this seems unportable (in
view of the fact that file is built as a host tool), but other parts of
the file sources already include sys/param.h, so this change doesn't
make it worse.

This might fix PR 40539 from Brad Parker.
2009-03-06 19:42:54 +00:00
christos e5fb0732fe Use siginfo to print more details about the sigfpe. 2009-03-01 23:30:52 +00:00
kenh 83e1006d39 Revert back to previous version 2009-02-27 03:01:57 +00:00
kenh 05970a1d19 This didn't change ... what's the deal? 2009-02-27 02:59:11 +00:00
sketch 1e56a266d4 regen. 2009-02-24 22:27:02 +00:00
sketch 7ce9d1c8ea Make 'build.sh tools' work with the Sun Studio compiler, although bugs in
some of the generated tools still prevent building a full release using them.
2009-02-24 22:25:24 +00:00
tnozaki 63b0517c27 fix following wregexp bug reported in current-user:
- . doesn't match anything
  - [] groups containing more than one character don't match anything
introduced by -Wsign-compare fix.
2009-02-22 11:34:53 +00:00
drochner 7cd24411fd Make ntpd drop supplementary group memberships when dropping privileges
due to a "-u" option.
(There is a bug report to the subcect in ntp's bugzilla, listed
as "closed", almost two years old. Don't know what happed. My patch
is not derived from that one because the code changed.)
2009-02-03 12:51:13 +00:00
jmcneill cdbce806da Make os_time_t a time_t instead of a long. 2009-01-29 01:02:48 +00:00
jmcneill 464bb4625b Merge http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/wpa/wpa_supplicant/Attic/driver_netbsd.c.diff?r1=1.7&r2=1.8
PR# 39364: wpa_cli scan_results shows '0' signal level

Use rssi for level (instead of qual) in scan results, following examples
set by the wpa_supplicant ndis and iphone drivers.
2009-01-29 00:17:22 +00:00
christos 7842bfc111 check for memcpy too 2009-01-27 16:50:08 +00:00
lukem 293645aa72 sign-compare fixes 2009-01-25 14:25:27 +00:00
lukem 53fcdb3604 sign-compare fixes for amd64 2009-01-22 10:33:58 +00:00
christos cce9197201 revert __func__ -> __FUNCTION__ 2009-01-21 23:31:31 +00:00
jmmv 0cdcf7cea6 Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it.  0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
lukem cadac39416 fix -Wsign-compare issues 2009-01-18 03:43:45 +00:00
christos 45220987b8 PR/40414: Peter Bex: nvi abort()s in autoindent/autoindent differs from
historical vi
2009-01-16 15:05:55 +00:00
christos c06deb4e8c PR/40386: M. Levinson: vi(1) filename completion no longer works, fix bug
introduced by shadow variable fix.
2009-01-13 15:43:27 +00:00
drochner bc4339482e sync the last commit with the official 9.5.1-P1 release,
thanks to Adrian Portelli for the upstream patch
2009-01-09 17:44:20 +00:00
kardel 300f8f3036 merge ntp 4.2.4p6 2009-01-08 20:09:03 +00:00
kardel 0fee6ba94f Import ntp 4.2.4p6 2009-01-08 19:17:53 +00:00
drochner bba265ee2d try to fix CVE-2009-0021 (incorrect check of EVP_VerifyFinal()'s
return value)
(This is not an official patch and possible incomplete.)
2009-01-08 14:50:56 +00:00
drochner bf744d30ef try to fix CVE-2009-0025 (incorrect check of DSA_do_verify()'s
return value
(This is not an official patch and possible incomplete.)
2009-01-08 14:49:46 +00:00
tnozaki 1f0834dfa8 make CHAR_T/RCHAR_T as 32bit clean.
nvi-1.81 restrict wchar_t as 24bit, so under some locale(eg. zh_CN.GB18030)
search/regex doesn't work and sometimes dumps core(because of negative wchar_t value).
2009-01-02 00:32:11 +00:00
he bce40b6ae2 Also doctor the Revision header in the files.
This appears to be leftover from my earlier BIND update.
2008-12-30 17:53:47 +00:00
christos 5dd7ea59ad fix time_t format. 2008-12-29 04:13:28 +00:00
christos ec24b06a1f fix suseconds_t format 2008-12-29 04:08:56 +00:00
christos bb7e3aa272 fixes for 64 bit time_t 2008-12-28 22:56:57 +00:00
christos 442ef04263 trust me, malloc's argument is size_t not u_int. 2008-12-23 20:49:39 +00:00
christos a3e8ad6af0 make status humanly parsable. 2008-12-23 20:49:19 +00:00
uebayasi b5e854b1a0 -v -var=value -> atf-run -v var=value 2008-12-18 05:11:32 +00:00
tsutsui 593ae76032 Suppress false -Wuninitialized warning on gcc -O1. 2008-12-13 09:17:48 +00:00
lukem e7617fb9ab Bump the version to ""nvi-1.81.6nb1" for NetBSD changes:
expandtab
	gtagsmode
	matchchars
	WARNS=4

Per discussion with Christos.
2008-12-12 23:05:36 +00:00
lukem 534002bc26 Implement "expandtab" option:
expandtab, et [off]
          Prevent the use of <tab> characters in leading whitespace when
          shifting text, autoindenting, indenting with <control-T>, or
          outdenting with <control-D>.
2008-12-12 22:55:55 +00:00
christos bc71c61926 Bring in our changes:
- netbsd specific support
	- header files
	- our ioctls to get/set bssid and ssid
- use __FUNCTION__ instead of __func__
- correct handling of interfaces appearing and dissappearing, fixing
  unreached code!
- debugging messages for event changes
- keep a local copy of the interface status so that we can tell if we
  have notified wpa_supplicant yet about the interface change or not.
XXX: There was a byte swapping line that I commented out and I am not
sure if it is correct.
2008-12-12 21:44:54 +00:00
christos 37d07dacae PR/40144: Christoph Badura: quiting from vi recovery mode leaves tty settings
garbled. When vi creates a new EXF structure it did not set all the fd related
fields to -1, so if the fd field was never initialized, it was 0 because of
the calloc() call, so closing the file, ended up closing 0, so the terminal
fd was closed and that prevented the ioctl to restore the term settings from
succeeding.
2008-12-09 18:26:20 +00:00
christos 99089c99f7 PR/40140: Takehiko NOZAKI: fix bug where nvi + x(delete) key may call abort(3) 2008-12-09 16:50:22 +00:00
christos 2b08d9050e uninitialized variable. 2008-12-06 23:18:36 +00:00
christos 448e9aef12 more compilation issues on amd64, where size_t != unsigned int. 2008-12-06 18:39:20 +00:00
christos ba7207e4b2 WARNS=4 2008-12-05 22:51:42 +00:00
christos 88bda1cea2 don't use signed chars for no reason. 2008-11-25 18:40:26 +00:00
hubertf 95d4c42d15 Pull in a minor change from file-4.26 that gets cross-compiling from
Solaris going.

OK'd by christos@
2008-11-04 13:34:11 +00:00
christos e2e2aa5d82 make gtags work for real. 2008-10-29 19:57:27 +00:00
christos a987b491ab put back gtagsmode (untested) apb should test. 2008-10-29 17:50:49 +00:00
christos 82db559c65 Moved a long time ago to external 2008-10-28 14:06:06 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
martti 2ea5185606 IPF 4.1.31 is out 2008-10-20 12:09:15 +00:00
apb 1dc9ff828c In preparation for building awk as a host tool, add
#if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h"
2008-10-19 19:33:47 +00:00
tsutsui 4c08651b76 Put a workaround for PR toolchain/39528:
Adjust a definition of MKDIR_P to invoke $ac_install_sh script
via $(SHELL) so that it will work even if executable bits are not
preserved in the source archives.

No objection on tech-toolchain.
2008-10-12 02:56:23 +00:00
oster 6664ee6283 memset to zero the entire nop_in structure. Fixes PR#39688 by
Henning Petersen.  Thanks!
2008-10-08 14:58:57 +00:00
agc 7117be69ce Fix a fairly obvious pasto which has been there since version 1.1 in 2001. 2008-10-08 09:45:47 +00:00
joerg 3d4926cda4 Finish moving pkg_install to src/external/bsd/pkg_install. 2008-10-07 16:06:12 +00:00
christos c33f6f922e quote {} 2008-10-02 15:39:43 +00:00
christos 9766bcabdc put back matchchars 2008-10-01 21:20:09 +00:00
reed 90b621c7d8 Replace docbook tag with roff.
(It was used in wrong context so wasn't replaced.)
I reported this upstream and provided fix to lwresd.docbook.
I didn't commit fix here for docbook file, because
NetBSD doesn't regenerate the manual page.
2008-09-24 21:14:07 +00:00
christos 8c8950af64 PR/39501: David Holland: Don't print the remainder of the line in the error
context because it can confuse input parsing in warnings. A full explanation
is in the code.
2008-09-09 21:47:34 +00:00
christos 739c305b89 fix texinfo errors by adding @node commands as appropriate. 2008-09-01 17:51:49 +00:00
christos 85ff5d2957 remove conflict. 2008-08-31 07:54:07 +00:00
christos 97a2ff3736 misc cleanups 2008-08-31 07:53:33 +00:00
christos 3f1ec0f434 fix printf format. 2008-08-31 04:51:20 +00:00
christos fed53d5170 fix lp64 build. 2008-08-30 17:49:43 +00:00
christos 0bb40d37ac add this back 2008-08-30 12:18:55 +00:00
christos 04eef3cfd2 resolve conflicts, fix build. 2008-08-30 12:16:51 +00:00
christos 04d459813f resolve conflicts 2008-08-30 11:39:01 +00:00
christos 8bb07b3f43 try-again for file-4.26 2008-08-30 11:20:52 +00:00
christos 85e225d6b9 mport 4.26 2008-08-30 11:00:02 +00:00
christos 27431b0ddd resolve conflicts 2008-08-30 07:34:27 +00:00
christos b8efb34b73 Import wpa_supplicant and hostapd 2008-08-30 07:23:43 +00:00
gmcgarry a9af41a9f1 Correctly use linksets with PCC too. 2008-08-29 00:35:25 +00:00
gmcgarry d776319a17 Correctly elide dlog() on PCC. It's still very wrong for other non-__GNUC__
compilers.
2008-08-29 00:34:04 +00:00
christos c041c3f557 Fix non-wide build botches. 2008-08-27 10:18:41 +00:00
christos 1a8ca97519 Don't fill up /var/log/messages when the network is down; log EDNS failures
at debug 3.
2008-08-27 05:28:42 +00:00
joerg f628ddd81d As dholland pointed out, don't leak memory if FS is resized multiple
times.
2008-08-26 20:25:19 +00:00
joerg 479fba4b1b Don't use strlen to check if the length is at larger than 1, check the
first two chars directly.

Don't fail if FS is longer than 9 characters, but allocate a copy
dynamically and fail if that can't be done. Make inputFS static.

OK martin, bjs
2008-08-26 14:43:18 +00:00
joerg 0051d8ebe6 Don't strcpy after strdup. 2008-08-26 14:38:55 +00:00
gmcgarry 8c48d8690e Remove old pcc import. 2008-08-24 06:37:27 +00:00
kardel 1f18cb938c resolve ntp 4.2.4p5 import 2008-08-23 09:10:31 +00:00
kardel 835928de57 Import ntp 4.2.4p5 2008-08-23 07:38:09 +00:00
wiz 9f2c3be631 Recognize CISO (.cso) files. 2008-08-18 22:04:47 +00:00
he 2b2bbd444f Resolve conflicts from import of bind 9.5.0-P2. 2008-08-15 14:51:26 +00:00
he d552782165 Import bind 9.5.0-P2 2008-08-15 14:41:33 +00:00
he 8df376afb4 Import bind 9.5.0-P2 2008-08-15 14:39:30 +00:00
martti b2f85650f0 Not needed in NetBSD 2008-08-12 10:28:51 +00:00
christos b050639f27 delete junk file. 2008-08-10 07:30:53 +00:00
aymeric 100893232d The cursor emulation was broken, which led to O on an existing first line of
a file to fail.
Fixes PR bin/39293 by Adam Hoka.
2008-08-05 15:49:18 +00:00
christos 503c450ac3 Apply 3e2ad1b932d827ddb038a5f9163bca766803811a from the wpa git tree:
* fixed race condition between disassociation event and group key
	  handshake to avoid getting stuck in incorrect state [Bug 261]
2008-08-04 04:14:28 +00:00
joerg d249112fae Update build glue for dhcpcd 4.0.0rc3 and move it to
src/external/dhcpcd.

Make dhcpcd quiet by default when run from rc.
2008-07-27 19:31:02 +00:00
dsl 345ef58291 Comment out the 'continue' in EXPECTEOL().
It only terminates execution of the 'do .. while (0)' loop.
EXPECTEOL() is always followed by 'continue' when called.
2008-07-25 22:09:52 +00:00
darrenr 9f0bfbf3da 2020447 IPFilter's NAT can undo name server random port selection 2008-07-24 09:37:57 +00:00
kardel fbcf7d7188 make mkver fetch the date information from src/usr.sbin/ntp/importdate
in order to achieve consistent version strings across all builds
2008-07-16 20:53:56 +00:00
drochner 0a06aa4eeb While openpam overwrites possible sensitive data on cleanup, it misses
the buffers used in the password dialog. Clean them too.
2008-07-16 18:20:17 +00:00
perry c983ff2507 explain that mkver needs cleanup when a new version is imported
as per suggestion from simon
2008-07-16 11:11:37 +00:00
he 4e9514ecb8 Add an overlooked semicolon to fix the build. 2008-07-14 06:14:44 +00:00
christos 96f87739b6 PR/39002: cheusov at tut dot br: Warn for \x where x is not a valid escaped
char.
2008-07-13 17:08:28 +00:00
christos e8c53cdebd sprintf -> snprintf 2008-07-12 19:57:59 +00:00