Commit Graph

244225 Commits

Author SHA1 Message Date
Leandro Lupori
8024ba45db Add powerpc support to libkvm probe function
PowerPC kernels are of DYN type, instead of EXEC.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D21583
2019-09-10 18:46:32 +00:00
Jeff Roberson
4cdea4a853 Use the sleepq lock rather than the page lock to protect against wakeup
races with page busy state.  The object lock is still used as an interlock
to ensure that the identity stays valid.  Most callers should use
vm_page_sleep_if_busy() to handle the locking particulars.

Reviewed by:	alc, kib, markj
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D21255
2019-09-10 18:27:45 +00:00
Warner Losh
d461d3e760 Remove dirs (and their now-empty parents) empty since r344779 2019-09-10 17:51:22 +00:00
Warner Losh
6c755cc965 Remove dir empty since r327952 2019-09-10 17:50:00 +00:00
Warner Losh
860d07ca8c Remove dir empty since r314564 2019-09-10 17:49:18 +00:00
Warner Losh
5924bae58a Remove dirs empty since r280031 2019-09-10 17:47:38 +00:00
Warner Losh
05ab952439 Remove dir empty since r276851 2019-09-10 17:46:30 +00:00
Warner Losh
25f0912629 Remove empty directory after r297894 2019-09-10 17:31:06 +00:00
Warner Losh
6e59adfc69 Remove empty dir after r342815 (pt 2, oops) 2019-09-10 17:30:05 +00:00
Warner Losh
7739455701 Remove empty dir after r288683 2019-09-10 17:26:46 +00:00
Warner Losh
5ee86a55ab Remove empty dir after r342815 2019-09-10 17:26:20 +00:00
Warner Losh
549c42974c Remove dir empty since r214734 2019-09-10 17:20:24 +00:00
Warner Losh
afec47a165 Remove dirs empty since r336203 2019-09-10 17:19:43 +00:00
Warner Losh
3b22b506a8 Remove directory empty after r266735 2019-09-10 16:58:19 +00:00
Warner Losh
c1cbf34577 Remove empty directory after r215937 2019-09-10 16:57:35 +00:00
Warner Losh
378bae1108 Remove empty directory after r342871 2019-09-10 16:56:43 +00:00
Warner Losh
6e4e1edcd3 Remove empty directory imported with r342935 2019-09-10 16:53:16 +00:00
Warner Losh
ce722c43b8 Remove empty directory imported with r238438 2019-09-10 16:51:52 +00:00
Warner Losh
1c0024964e Remove now-empty directory after r288337 2019-09-10 16:50:38 +00:00
Warner Losh
74db7f684e Remove now-empty directories after r272458 2019-09-10 16:48:49 +00:00
Warner Losh
f30470c0d5 Remove gateworks directories left over from r336136 2019-09-10 16:43:05 +00:00
Warner Losh
c8507dc49a Remove empty tap/tun modules directories after r347241 2019-09-10 16:41:00 +00:00
Warner Losh
51af865e84 Remove leftover usr.bin/send-pr after r338042 2019-09-10 16:40:00 +00:00
Warner Losh
074b27b765 Remove empty directory after r342256 2019-09-10 16:38:52 +00:00
Warner Losh
9cfd6d607c Remove empty directory aftre r336532 2019-09-10 16:37:32 +00:00
Warner Losh
3bc8cf0273 Remove more directories left over from nand removal 2019-09-10 16:36:09 +00:00
Warner Losh
ceca434baa Remove empty directories after drm removal 2019-09-10 16:35:31 +00:00
Warner Losh
68156f9d2a Remove empty directories left over from nand removal 2019-09-10 16:30:06 +00:00
Leandro Lupori
1610117dc1 Add R_PPC_IRELATIVE relocation
Pre-requisite for most ifunc related changes.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D21587
2019-09-10 16:16:05 +00:00
Yuri Pankov
42249ef234 locale: handle day, abday, mon, abmon, am_pm keywords
All of these are defined as mandatory by POSIX.

While here, mark all non-standard ones as FreeBSD-only as
other systems (at least, GNU/Linux and illumos) do not handle
them, so we should not encourage their use.

PR:		237752
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D21490
2019-09-10 15:09:46 +00:00
Hans Petter Selasky
180fecd5b6 Callout drain does not have to be followed by a callout stop call.
Fix bogus code.

MFC after:	1 week
Sponsored by:	Mellanox Technologies
2019-09-10 14:33:07 +00:00
Baptiste Daroussin
d0ef721ed3 Import libedit 2019-09-10
Compared to current version in base:
- great improvements on the Unicode support
- full support for filename completion including quoting
  which means we do not need anymore our custom addition)
- Improved readline compatiblity

Upgrading libedit has been a pain in the past, because somehow we never
managed to properly cleanup the tree in lib/libedit and each merge has always
been very painful. After years of fighting give up and refresh a merge from
scrarch properly in contrib.

Note that the switch to this version will be done in another commit.
2019-09-10 14:30:10 +00:00
Baptiste Daroussin
3150625201 Update libedit to snapshot 2019-09-10 2019-09-10 13:55:44 +00:00
Li-Wen Hsu
4835262b68 Fix build for the platforms where db_expr_t is not long
Sponsored by:	The FreeBSD Foundation
2019-09-10 08:51:11 +00:00
Baptiste Daroussin
204bb5f0eb Fix bad path
Reported by:	zeising
2019-09-10 08:28:44 +00:00
Baptiste Daroussin
e6f059a96c Stop linking to libl by specifying we do not need yywrap
MFC after: 3 days
2019-09-10 08:19:46 +00:00
Baptiste Daroussin
3fff4cff6e Remove a blankline wrongly added in r351781 2019-09-10 07:56:57 +00:00
Baptiste Daroussin
c844ab6717 Remove mklocale(1) and colldef(1) which are deprecated since FreeBSD 11
In FreeBSD 11 along with the rework on the collation, mklocale(1) and colldef(1)
has been replaced by localedef(1) (a note has been added to the manpage to state
it).
mklocale(1) and colldef(1) has been kept around to be able to build older
versions of FreeBSD. None of the version requiring those tools are supported
anymore so it is time to remove them from base
2019-09-10 07:54:49 +00:00
Baptiste Daroussin
b3f9b73820 In FreeBSD 11 localedef(1) has replaced the mklocale(1) and colldef(1)
tools to generate the locales data. state it in the libc manpages.

MFC after:	3 days
2019-09-10 07:47:52 +00:00
Baptiste Daroussin
98ac0a3d6a Remove reference to mklocale regarding the nls directory
mklocale never had anything to do with the content of this directory

MFC after:	3 days
2019-09-10 07:40:45 +00:00
Baptiste Daroussin
58aad230b5 Stop linking to libl by specifying we do not need yywrap
MFC after: 3 days
2019-09-10 07:28:27 +00:00
Baptiste Daroussin
bcba42d1f8 Stop linking to libl by specifying we do not need yywrap
MFC after: 3 days
2019-09-10 07:26:38 +00:00
Baptiste Daroussin
a9a39d4014 Stop linking to libl by specifying we do not need yywrap
MFC after: 3 days
2019-09-10 07:25:37 +00:00
Baptiste Daroussin
36ad097f9b Stop linking to libl by specifying we do not need yywrap
MFC after:	3 days
2019-09-10 07:23:01 +00:00
Baptiste Daroussin
35f36f825a by specifyng we do not use yywrap we can avoid linking to libl and liby
MFC after:	3 days
2019-09-10 07:20:32 +00:00
Baptiste Daroussin
ef5312c38e config: do not link against libl, it is not needed
MFC after:	3 days
2019-09-10 07:14:39 +00:00
Gleb Smirnoff
e67975d331 Fix 'calendar -a' in several ways.
o Do not run any iconv() processing in -a. The locale of root user is not
  what is desired by most of the users who receive their calendar mail.
  Just assume that users store their calendars in a format that is readable
  to them. This fixes regression from r344340.
o fork() and setusercontext(LOGIN_SETALL) for every user. This makes LANG
  set inside a calendar file mostly excessive, as we will pick up user's
  login class LANG.
o This also executes complex function cal() that parses user owned files
  with appropriate user privileges.
  Previously it was run with privileges dropped only temporary for execution
  of cal(), and fully dropped only before invoking sendmail (see r22473).

Reviewed by:	bapt (older version of patch)
2019-09-10 04:21:48 +00:00
Gleb Smirnoff
1e01d2dcac Remove pointless playing with LC_TIME, which should have been done in r205821. 2019-09-10 04:01:41 +00:00
Conrad Meyer
0b12ab8111 Appease Clang false-positive Werrors in r352112
Reported by:	bcran
2019-09-10 01:56:47 +00:00
Conrad Meyer
8b6acd2b51 ddb(4): Add 'show route <dest>' and 'show routetable [<af>]'
These commands show the route resolved for a specified destination, or
print out the entire routing table for a given address family (or all
families, if none is explicitly provided).

Discussed with:	emaste
Differential Revision:	https://reviews.freebsd.org/D21510
2019-09-09 22:54:27 +00:00