Commit Graph

241998 Commits

Author SHA1 Message Date
christos
6bc428858e mention libedit 2016-04-18 18:58:04 +00:00
christos
4fc1f47d56 From Ingo Schwarze:
* Replace fcns.c by a shorter and simpler func.h
   and include it only in the one file needing it, map.c.
 * Combine help.h and help.c into a simplified help.h
   and include it only in the one file needing it, map.c.
 * Check the very simple, static files editline.c, historyn.c, and
   tokenizern.c into CVS rather than needlessly generating them.
 * So we no longer autogenerate any C files.  :-)
 * Shorten and simplify makelist by deleting the options -n, -e, -bc,
   and -m; the latter was unused and useless in the first place.
 * Move the declaration of el_func_t from fcns.h to the header
   actually needing it, map.h.  Since that header is already
   included by el.h for unrelated reasons, that makes el_func_t
   just as globally available as before.
 * No longer include the simplified fcns.h into el.h,
   include it directly into the *.c files needing it.
2016-04-18 17:01:19 +00:00
ozaki-r
095fdb0468 Add a test case for static ARP
It tests receiving an ARP request that has a spa (i.e., IP address) whose
ARP entry already exists in the table as a static ARP entry.
2016-04-18 02:27:34 +00:00
ozaki-r
805fe96546 Fix panic on receiving an ARP request
The panic happened if an ARP request has a spa (i.e., IP address) whose
ARP entry already exists in the table as a static ARP entry.
2016-04-18 02:24:42 +00:00
ozaki-r
4ace575dc7 Get rid of meaningless RTF_UP check from ip_hresolv_output
The check is meaningless because
- An obtained rtentry is ensured that it's always RTF_UP by rtcache,
  rtalloc1 and rtlookup. If the rtentry isn't changed (i.e., RTF_UP gets
  dropped) during processing, the check should be unnecessary
- Even if not, i.e., an obtained rtentry can be changed during processing,
  checking only at the point doesn't help; the rtentry can be changed after
  the check

Instead we have to ensure that RTF_UP isn't dropped if someone is using it
somehow. Note that we already ensure that a rtentry being used isn't freed
by rt_refcnt.

Proposed on tech-kern and tech-net.
2016-04-18 01:28:06 +00:00
palle
5254ca51fa Update sparc64 TODO file: note issue with interrupt handling + issue when booting from iso image 2016-04-17 19:54:32 +00:00
christos
a2eaeedb12 Remove empty callbacks (Ingo Schwartze) 2016-04-17 18:39:14 +00:00
martin
c0a2d7e484 Move the SMP-disabled hack for SUN4V a bit earlier 2016-04-17 14:32:03 +00:00
nakayama
d3ef62dc17 Fix NetBSD RCS keyword. 2016-04-17 02:16:26 +00:00
nakayama
161d0b9e5f Use xorg-pkg-ver.mk to retrieve PACKAGE_STRING. 2016-04-16 20:52:07 +00:00
dholland
b48722eeda Note that deleting objdirs (not just cleandir) may be necessary for the
gcc update.
2016-04-16 19:47:45 +00:00
riastradh
761e23db0b Add a note about PIE for amd64 requiring clean objdir. 2016-04-16 18:28:22 +00:00
nakayama
af72fa8d05 Set PACKAGE_STRING properly. 2016-04-16 16:57:06 +00:00
martin
d6fc88e543 If compiling with SUN4V support, bump MAXCPUS to 256. 2016-04-15 20:29:13 +00:00
mrg
0a7cdc80ba use %zu instead of %lu for size_t. 2016-04-15 20:00:13 +00:00
mrg
27da98ff14 updates and bozohttpd 20160415:
o  add search-word support for CGI
o  fix a security issue in CGI suffix handler support which would
   allow remote code execution, from shm@netbsd.org
o  -C option supports now CGI scripts only
2016-04-15 17:57:21 +00:00
riastradh
10a4418ee6 Tweak wording. Use \(em for emdash. 2016-04-15 17:55:58 +00:00
ozaki-r
c73a69e593 Add a new test case for PPPoE using PAP
From s-yamaguchi@IIJ (with some tweaks by me)
2016-04-15 01:38:16 +00:00
ozaki-r
4da47673a2 Rump-ify if_pppoe
From s-yamaguchi@IIJ
2016-04-15 01:35:25 +00:00
ozaki-r
c49e748c57 Hide PPPoE variables from if_ethersubr.c
This improves modularity of if_pppoe.

From s-yamaguchi@IIJ
2016-04-15 01:31:29 +00:00
salazar
1adc2ecbd6 add lneto 2016-04-14 21:16:18 +00:00
skrll
42fe483061 Remove duplicated __RCSIDs I added years ago - I blame CVS.
Spotted by Miod Vallat
2016-04-14 20:17:07 +00:00
rjs
b4a446b522 Remove stray debug printf(). 2016-04-14 18:36:56 +00:00
christos
db1e653281 If PAM is configured to read user-specified environment variables
and UseLogin=yes in sshd_config, then a hostile local user may
attack /bin/login via LD_PRELOAD or similar environment variables
set via PAM.

CVE-2015-8325, found by Shayan Sadigh, via Colin Watson
https://anongit.mindrot.org/openssh.git/commit/?\
id=85bdcd7c92fe7ff133bbc4e10a65c91810f88755

XXX: pullup-7
2016-04-14 16:42:09 +00:00
christos
02a4b58691 missing , 2016-04-14 03:25:28 +00:00
christos
a891a55afd - match endianness logic more to the original code
- fix namlen type
- use bool more
- eat \n's from panic strings
2016-04-14 03:23:22 +00:00
christos
8b51aa0d7a add HAVE_MKSTEMP 2016-04-13 22:26:48 +00:00
christos
e29ae0f86e Fix MKSTEMP 2016-04-13 22:01:55 +00:00
christos
0e65ad3ed0 We have MKSTEMP so use it! 2016-04-13 21:54:25 +00:00
christos
7abbfa376d We have MKSTEMP so stop using mktemp! 2016-04-13 21:48:21 +00:00
christos
30150afc85 Don't die on RC5 warning 2016-04-13 21:33:52 +00:00
macallan
285788209b - purge long obsolete RASTERCONSOLE
- add mgx
2016-04-13 17:32:27 +00:00
macallan
34337aa92f return correct parameters in ioctl(WSDISPLAYIO_GINFO), from lausgans
while there, support WSDISPLAYIO_GET_FBINFO
2016-04-13 17:26:08 +00:00
riastradh
e0a6926ea4 Enable nouveau by default again in x86 GENERIC. 2016-04-13 15:26:27 +00:00
christos
5e64704ab9 PR/51062: Abhinav Upadhyay: Allow non numeric sections to be indexed and
searched by apropos(1).
Fold long lines.
2016-04-13 11:48:29 +00:00
riastradh
38390d51d2 Exclude VRAM and FIFO regions from MMIO register mapping.
Nouveau maps those separately, and it is not trivial to convert those
mappings to bus_space_subregion.
2016-04-13 08:50:51 +00:00
riastradh
c9a450c39a Provide reader/writer semantics with recursive readers. 2016-04-13 08:43:56 +00:00
riastradh
421ddf539c Split psref_held into internal and public variants.
For internal use, we expect psrefs to be held by other LWPs when
asking in the cross-call thread whether the target in question is
referenced.

For public use, the caller should not assert about some other LWP
holding a psref.

But the rest of the logic is the same.
2016-04-13 08:31:00 +00:00
riastradh
edb41cb359 Destroy the mutex before free. 2016-04-13 07:59:05 +00:00
riastradh
cac611edec Destroy spin locks appropriately. 2016-04-13 07:57:15 +00:00
riastradh
25176fc424 Destroy the lock before caller frees memory. 2016-04-13 07:52:47 +00:00
christos
0fc86a7786 PR/51040: Abhinav Upadhyay: Fix memory leak 2016-04-13 01:41:18 +00:00
christos
b3b58d82a5 PR/51039: Abhinav Upadhyay: Check for return value of chdir(2) 2016-04-13 01:40:09 +00:00
christos
90f8d04e63 PR/51038: Abhinav Upadhyay: check for access permissions to the sqlite database 2016-04-13 01:37:50 +00:00
christos
88453a2aaf PR/51034: Abhinav Upadhyay: Close database connection when failed to commit 2016-04-13 01:32:00 +00:00
ozaki-r
a7aa74a57f Fix format 2016-04-13 00:47:46 +00:00
ozaki-r
4f0eb37aac ddb: rename show arptab to show routes
show arptab command of ddb is now inappropriate because it actually dumps
routes but arp entries aren't routes anymore. So rename it to show routes
and move the code from if_arp.c to route.c.

ok christos@
2016-04-13 00:47:01 +00:00
christos
df0f05fb4b more deduplication. 2016-04-13 00:09:26 +00:00
wiz
49bbd55f57 Slight markup fix. 2016-04-12 23:07:25 +00:00
roy
67f77b27fc Removed botched debug left over. 2016-04-12 20:40:43 +00:00