summaryrefslogtreecommitdiffstats
path: root/sys/tmpfs/tmpfs_subr.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-12-19Report better error from server when socket create fails, GitHub issuenicm4-20/+53
1201.
2017-12-19somehow, I lost that static.espie1-2/+2
From Michal W. Bombardieri, thx
2017-12-19Remove unused ps_stackgap from process structstefan2-6/+2
Nothing uses this field since Linux compat was removed. ok mpi@ deraadt@ guenther@
2017-12-19Remove a 27 year old #ifdef notdef chunk involving SB_LOCK.mpi1-17/+1
ok bluhm@
2017-12-19Inline socket buffer related defines, no functional change.mpi1-11/+8
ok bluhm@
2017-12-19Remove unnecessary unlock/lock dance when following a goto.mpi1-5/+5
ok bluhm@
2017-12-19explicitly test all key types and their certificate counterpartsdjm1-52/+92
refactor a little
2017-12-19include signature type and CA key (if applicable) in some debug messagesdjm1-8/+28
2017-12-18unbreak hostkey rotation; attempting to sign with a desired signaturedjm2-6/+23
algorithm of kex->hostkey_alg is incorrect when the key type isn't capable of making those signatures. ok markus@
2017-12-18log mismatched RSA signature types; ok markus@djm1-1/+4
2017-12-18pass kex->hostkey_alg and kex->hostkey_nid from pre-auth to post-authdjm1-1/+5
unpriviledged child processes; ok markus@
2017-12-18Change the question at the end of installs and upgrades to present a choicerpe1-7/+18
between exiting to the shell or to reboot the latter being the default. (On sparc64 the second choice is to halt the system which leaves it at the OpenBoot PROM prompt) While there add a newline after the CONGRATULATIONS message. OK tb@ positive feedback naddy@ deraadt@ giovanni@
2017-12-18Do not try to put more in command message than will fit when sendingnicm1-1/+5
(the server will treat as a fatal error). GitHub issue 1200.
2017-12-18always initialize the hce_launch_checks event timer.benno1-3/+2
Fixes a crash when poll is run without any checks. Found and fixed by Hiltjo Posthuma (hiltjo -AT- codemadness -DOT- org). ok claudio@
2017-12-18Display $MODE (install/upgrade) in the prompt before we know the hostname.tb1-1/+4
suggested by deraadt ok rpe
2017-12-18Sync cross references related to libutil; ok jmc@anton1-2/+4
2017-12-18Get rid of a todo by stop declaring variable texec as static and instead zeroinganton1-2/+3
it out prior to continuing down the recursive call chain. Initial diff from Michael W. Bombardieri, later tweaked; ok tb@
2017-12-18Properly implement the rsb attribute and actually use it.kettenis3-10/+11
2017-12-18Add sensors for the AXP809.kettenis1-3/+10
2017-12-18Generate SIGBUS/BUS_ADRALN when we see a PC Alignment Exception from userland.kettenis1-1/+6
ok patrick@
2017-12-18Use axppmic as a dependency instead of axppmic_rsb.kettenis1-2/+2
2017-12-18Add tests for the environment related commands in csh. While here, print aanton3-3/+26
descriptive header before each test, inspired by the many others in regress.
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton1-5/+2
redundant call to free() since name is always freed upon return. From Michael W. Bombardieri, with some tweaks by myself.
2017-12-18Add another pair of home/end key bindings; from Lari Rasku.anton1-1/+3
ok jca@
2017-12-18Read RAM size for chips with SOCRAM like the BCM4334 on one of mypatrick1-2/+18
Intel machines.
2017-12-18Read RAM size for chips with SOCRAM like the BCM4334 on one of mypatrick1-5/+55
Intel machines.
2017-12-18Add helper function for uri handing in scp where a missing pathmillert1-11/+36
simply means ".". Also fix exit code and add warnings when an invalid uri is encountered. OK otto@
2017-12-18When setting KTRACE in the environment, client and server writebluhm9-57/+194
ktrace files. This simplifies debugging as system calls can be inspected with kdump.
2017-12-18Pass the BSSID to the join command so that we connect to the AP thatpatrick1-4/+7
we chose instead of any AP the firmware chooses based on the SSID.
2017-12-18Pass scan type directly to the scan command instead of using the globalpatrick2-8/+6
variable.
2017-12-18Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do thehelg1-1/+2
opposite of fuse_setup(3). ok mpi@
2017-12-18Stop inserting and paying attention to 'interface <if>;'krw4-30/+9
inside 'lease {}' declarations. We don't keep leases from multiple interfaces in dhclient.leases.<if> files. One less thing to parse and keep in memory. More rope for those wanting to do unspeakable things with their lease files.
2017-12-18Add sizes for free() in libsa for amd64 and i386.fcambus4-12/+12
OK tom@, deraadt@
2017-12-18Remove unused variable from Thomas Adam.nicm1-3/+2
2017-12-18Refactor libfuse option processing to better support options in thehelg2-73/+169
future. Immediate benefits are that gid, uid and umask are now supported and max_read is now honoured for all file systems. Mounting read_only is now possible but requires more thorough testing. ok mpi@
2017-12-18Enable RSB attachment for axppmic(4).kettenis1-1/+2
2017-12-18Add i2c interface code to the new axppmic(4) code and add support for thekettenis3-164/+305
AXP152 and AXP209 here as well. The AXP209 is extended to support regulators and sensors. The ACIN and VBUS indicators are now exported as sensors. Retire the old AXP152/AXP209 support code.
2017-12-18Map framebuffer into userland as non-cachable (but normal) memory. We stillkettenis1-2/+4
map the framebuffer as device memory in the kernel. Using mismatched memory attributes like this is discouraged (and we should probably fix this at some point) but this particular case is well-defined and the potential side-effects should not matter for thus use-case. ok patrick@
2017-12-18Revert support for multiple threads to enter kqueue_scan() in parallel.mpi2-64/+3
It is not clear if this change is responsible for the lockups experienced by dhill@ and jcs@ but since we're no longer grabbing the socket lock in kqueue(2) filters there's no need for this change.
2017-12-18Revert grabbing the socket lock in kqueue(2) filters.mpi3-28/+10
This change exposed or created a situation where a CPU started to be irresponsive while holding the KERNEL_LOCK(). These led to lockups and even with MP_LOCKDEBUG it was not clear what happened to this CPU. These situations have been experience by dhill@ with dcrwallet and jcs@ with syncthing. Both applications are written in Go and do kevent(2) & networking across multiple threads.
2017-12-18Make rw_exit() always succeed after a panic.mpi1-1/+5
Prevents a deadlock in if_downall() when rw_enter() succeed without really grabbing the lock. Reported by and ok phessler@
2017-12-18Size for free(9).mpi1-15/+14
From <kshe59 at zoho.eu>
2017-12-18Add support for enabling registered regulators. Make sure that we leavekettenis2-11/+32
regulators with a "regulator-always-on" property alone. ok patrick@
2017-12-18Reclaim browser screen real estate in bgplgjob3-24/+6
Removing versioning information too. OK deraadt@
2017-12-18Tighten /usr/local and /usr/X11R6 so that 8G disks still fit in our defaultajacoutot2-15/+15
partitioning scheme. ok florian@ benno@
2017-12-18let's not try to document the number of items in a list...jmc1-3/+3
2017-12-18Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2)cheloha6-39/+36
and put it to use in userspace in lieu of the kern.boottime sysctl. Its absolute value is the time that has elapsed since the system booted, i.e., the system uptime. Use in top(1), w(1), and snmpd(8) eliminates a race with settimeofday(2), adjtime(2), etc. inherent to deriving the system uptime via the kern.boottime sysctl. Product of a great deal of discussion/revision with jca@, tb@, and guenther@. ok tb@ jca@ guenther@ dlg@ mlarkin@ tom@
2017-12-18pass negotiated signing algorithm though to sshkey_verify() anddjm18-58/+56
check that the negotiated algorithm matches the type in the signature (only matters for RSA SHA1/SHA2 sigs). ok markus@
2017-12-18sshkey_sigtype() function to return the type of a signature;djm2-2/+28
ok markus@
2017-12-18Support setting the Cortex-A7 cores to active/passive mode andpatrick1-4/+32
fix up the code for the Cortex-R4 which works the same.