Author: trasz
Date: Thu Dec 10 10:23:18 2020
New Revision: 368510
URL: https://svnweb.freebsd.org/changeset/base/368510
Log:
Make "diskinfo -i" also test 1MB reads.
Modified:
head/usr.sbin/diskinfo/diskinfo.c
Modified: head/usr.sbin/diskinfo/diskinfo.c
Author: trasz
Date: Mon Nov 23 14:30:27 2020
New Revision: 367956
URL: https://svnweb.freebsd.org/changeset/base/367956
Log:
Replace paths in ctladm(8) examples with something sensible.
PR: 251181
Reviewed by: 0mp, rm, ygy
MFC after:2 weeks
Sponsored by: EPSRC
Author: trasz
Date: Mon Nov 23 14:26:59 2020
New Revision: 367954
URL: https://svnweb.freebsd.org/changeset/base/367954
Log:
Assorted tweaks to hier(7): punctuation, some .Xr's, clarify wording.
Reviewed by: 0mp, bcr, imp
MFC after:2 weeks
Sponsored by: EPSRC
Differential
Author: trasz
Date: Mon Nov 23 13:05:11 2020
New Revision: 367953
URL: https://svnweb.freebsd.org/changeset/base/367953
Log:
Make sbp(4) use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free.
Reviewed by: imp, mav
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara,
Author: trasz
Date: Mon Nov 23 13:02:23 2020
New Revision: 367952
URL: https://svnweb.freebsd.org/changeset/base/367952
Log:
Make tws(4) use xpt_alloc_ccb()/xpt_free_ccb() instead of malloc/free.
Reviewed by: imp
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara,
Author: trasz
Date: Mon Nov 23 12:59:56 2020
New Revision: 367951
URL: https://svnweb.freebsd.org/changeset/base/367951
Log:
Don't check return from xpt_alloc_ccb() for being NULL; since it's not
the _nowait wariant, it cannot fail.
Suggested by: mav
MFC after:2 weeks
Sponsored
Author: trasz
Date: Mon Nov 23 12:57:24 2020
New Revision: 367950
URL: https://svnweb.freebsd.org/changeset/base/367950
Log:
Make hptmv(4) use xpt_alloc_ccb/xpt_free_ccb instead of malloc/free.
Reviewed by: imp, mav
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Sponsored by:
Author: trasz
Date: Mon Nov 23 12:54:19 2020
New Revision: 367949
URL: https://svnweb.freebsd.org/changeset/base/367949
Log:
smartpqi: don't bzero the new ccb; xpt_alloc_ccb_nowait() already does that.
Reviewed by: imp
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Sponsored by:
Author: trasz
Date: Mon Nov 23 12:50:38 2020
New Revision: 367948
URL: https://svnweb.freebsd.org/changeset/base/367948
Log:
arcmsr(4): don't bzero newly allocated ccb; xpt_alloc_ccb() already does that.
Reviewed by: delphij, imp, ching2...@areca.com.tw
Tested by:
Author: trasz
Date: Mon Nov 23 12:47:23 2020
New Revision: 367947
URL: https://svnweb.freebsd.org/changeset/base/367947
Log:
Remove the 'wantparent' variable, unused since r145004.
Reviewed by: kib
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Author: trasz
Date: Mon Nov 9 08:53:15 2020
New Revision: 367517
URL: https://svnweb.freebsd.org/changeset/base/367517
Log:
Make it possible to mount a fuse filesystem, such as squashfuse,
from a Linux binary. Should come handy for AppImages.
Reviewed by: asomers
MFC after:2
Author: trasz
Date: Sun Nov 8 15:54:59 2020
New Revision: 367488
URL: https://svnweb.freebsd.org/changeset/base/367488
Log:
Move syscall_thread_{enter,exit}() into the slow path. This is only
needed for syscalls from unloadable modules.
Reviewed by: kib
MFC after:2 weeks
Author: trasz
Date: Sat Nov 7 13:09:51 2020
New Revision: 367445
URL: https://svnweb.freebsd.org/changeset/base/367445
Log:
Move TDB_USERWR check under 'if (traced)'.
If we hadn't been traced in the first place when syscallenter()
started executing, we can ignore TDB_USERWR. TDB_USERWR
Author: trasz
Date: Fri Nov 6 19:27:27 2020
New Revision: 367430
URL: https://svnweb.freebsd.org/changeset/base/367430
Log:
Make powerpc use MAXARGS (defined as 8) instead of hardcoding '10'.
This brings its 'struct syscall_args' in sync with other architectures.
Reviewed by: bdragon,
Author: trasz
Date: Fri Nov 6 19:19:51 2020
New Revision: 367429
URL: https://svnweb.freebsd.org/changeset/base/367429
Log:
Remove 'struct trapframe' pointer from mips64's 'struct syscall_args'.
While here, use MAXARGS. This brings its 'struct syscall_args' in sync
with most other
Author: trasz
Date: Thu Nov 5 18:10:03 2020
New Revision: 367394
URL: https://svnweb.freebsd.org/changeset/base/367394
Log:
Remove the 'nap' field from ARM's 'struct syscall_args', to bring it
in sync with (most) other architectures. No functional changes.
Reviewed by: manu
Tested
Author: trasz
Date: Wed Nov 4 21:39:04 2020
New Revision: 367348
URL: https://svnweb.freebsd.org/changeset/base/367348
Log:
Unbreak buildworld after r367339.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/compat/linux/linux_errno.h
Modified:
Author: trasz
Date: Wed Nov 4 19:54:18 2020
New Revision: 367339
URL: https://svnweb.freebsd.org/changeset/base/367339
Log:
Add linux_to_bsd_errtbl[], mapping Linux errnos to their BSD counterparts.
This will be used by fuse(4).
Reviewed by: asomers
MFC after:2 weeks
Sponsored
Author: trasz
Date: Tue Nov 3 19:12:33 2020
New Revision: 367301
URL: https://svnweb.freebsd.org/changeset/base/367301
Log:
Make linux_errtbl[] static.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:https://reviews.freebsd.org/D27004
Author: trasz
Date: Tue Nov 3 14:44:33 2020
New Revision: 367298
URL: https://svnweb.freebsd.org/changeset/base/367298
Log:
Fix rookie mistake - it's nitems(), not sizeof().
Reported by: xtouqh_icloud.com
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
Author: trasz
Date: Thu Oct 29 15:44:44 2020
New Revision: 367139
URL: https://svnweb.freebsd.org/changeset/base/367139
Log:
Make linprocfs(4) print a warning when there's not enough room to fill
/proc/self/maps.
Submitted by: dchagin (earlier version)
Reviewed by: emaste (earlier
Author: trasz
Date: Thu Oct 29 15:36:20 2020
New Revision: 367138
URL: https://svnweb.freebsd.org/changeset/base/367138
Log:
Optimize set_syscall_retval for riscv by predicting the return
value to be zero.
Reviewed by: mhorne, kp
MFC after:2 weeks
Sponsored by: EPSRC
Author: trasz
Date: Thu Oct 29 15:28:15 2020
New Revision: 367137
URL: https://svnweb.freebsd.org/changeset/base/367137
Log:
Make it possible to mount nullfs(5) using plain mount(8)
instead of mount_nullfs(8).
Obviously you'd need to force mount(8) to not call
mount_nullfs(8) to make
Author: trasz
Date: Thu Oct 29 14:42:51 2020
New Revision: 367135
URL: https://svnweb.freebsd.org/changeset/base/367135
Log:
Fix typo.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/compat/linux/linux_errno.h
Modified:
00:00 1970 (empty, because file is newly added)
+++ head/sys/compat/linux/linux_errno.h Thu Oct 29 14:23:52 2020
(r367132)
@@ -0,0 +1,183 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2020 The FreeBSD Foundation
+ *
+ * This software was developed by Edward T
Author: trasz
Date: Wed Oct 28 14:43:38 2020
New Revision: 367107
URL: https://svnweb.freebsd.org/changeset/base/367107
Log:
Add local variable to store the sysent pointer. Just a cleanup,
no functional changes.
Reviewed by: kib (earlier version)
MFC after:2 weeks
Sponsored by:
Author: trasz
Date: Wed Oct 28 14:16:08 2020
New Revision: 367106
URL: https://svnweb.freebsd.org/changeset/base/367106
Log:
Make linux_errtbl a bit more readable by using named initializers.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
m/mountver/geom_mountver.c Wed Oct 28 13:46:11 2020
(r367105)
@@ -2,7 +2,6 @@
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010 Edward Tomasz Napierala
- * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* mo
Author: trasz
Date: Tue Oct 27 12:49:40 2020
New Revision: 367079
URL: https://svnweb.freebsd.org/changeset/base/367079
Log:
Fix misnomer - linux_to_bsd_errno() does the exact opposite.
Reported by: arichardson
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential
On 1025T0717, Cy Schubert wrote:
> In message om>
> , Oliver Pinter writes:
> > On Sunday, October 25, 2020, Edward Tomasz Napierala
> > wrote:
> >
> > > Author: trasz
> > > Date: Sun Oct 25 14:09:00 2020
> > > New Revision: 367038
>
Author: trasz
Date: Sun Oct 25 14:09:00 2020
New Revision: 367038
URL: https://svnweb.freebsd.org/changeset/base/367038
Log:
Remove the check that prevents creating "loops" from mount_nullfs(8).
Reviewed by: kib
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential
Author: trasz
Date: Sat Oct 24 14:25:38 2020
New Revision: 367001
URL: https://svnweb.freebsd.org/changeset/base/367001
Log:
Tweak linux(4) socket(2) debug messages.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Sat Oct 24 14:23:44 2020
New Revision: 367000
URL: https://svnweb.freebsd.org/changeset/base/367000
Log:
Further improve prctl(2) debug.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:https://reviews.freebsd.org/D26916
Author: trasz
Date: Fri Oct 23 12:00:30 2020
New Revision: 366967
URL: https://svnweb.freebsd.org/changeset/base/366967
Log:
Improve prctl(2) debug.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:https://reviews.freebsd.org/D26899
Modified:
Author: trasz
Date: Fri Oct 23 11:57:55 2020
New Revision: 366966
URL: https://svnweb.freebsd.org/changeset/base/366966
Log:
Add /proc/sys/kernel/ngroups_max to linprocfs(4). The id(1) command
seems to use it - it works fine without it, but still.
MFC after:2 weeks
Sponsored by:
Author: trasz
Date: Wed Oct 21 18:45:48 2020
New Revision: 366915
URL: https://svnweb.freebsd.org/changeset/base/366915
Log:
Make linux(4) warn about unsupported socket(2) types.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Tue Oct 20 17:24:29 2020
New Revision: 366900
URL: https://svnweb.freebsd.org/changeset/base/366900
Log:
Fix linprocfs(4) /proc/self/mem semantics to more closely match Linux.
Steam's Anti-Cheat might depend on it.
PR: 248223
Analyzed by: Alex S
Author: trasz
Date: Tue Oct 20 17:19:10 2020
New Revision: 366899
URL: https://svnweb.freebsd.org/changeset/base/366899
Log:
Fix potential race condition in linux stat(2).
Reviewed by: kib
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Mon Oct 19 20:26:37 2020
New Revision: 366855
URL: https://svnweb.freebsd.org/changeset/base/366855
Log:
Fix fallout from r366811.
PR: 250442
Reported by: lwhsu
Reviewed by: mav
MFC after:2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara,
Author: trasz
Date: Sun Oct 18 16:30:49 2020
New Revision: 366812
URL: https://svnweb.freebsd.org/changeset/base/366812
Log:
If the SIM freezes the queue at exactly the wrong moment, after
another thread has started to send in a CCB and already checked
the queue wasn't frozen, we would end
Author: trasz
Date: Sun Oct 18 16:24:08 2020
New Revision: 366811
URL: https://svnweb.freebsd.org/changeset/base/366811
Log:
Make g_attach() return ENXIO for orphaned providers; update various
classes to add missing error checking.
Reviewed by: imp
MFC after:2 weeks
Sponsored
Author: trasz
Date: Sun Oct 18 16:16:22 2020
New Revision: 366810
URL: https://svnweb.freebsd.org/changeset/base/366810
Log:
Stop calling set_syscall_retval() from linux_set_syscall_retval().
The former clobbers some registers that shouldn't be touched.
Reviewed by: kib (earlier
Author: trasz
Date: Sun Oct 18 15:58:16 2020
New Revision: 366809
URL: https://svnweb.freebsd.org/changeset/base/366809
Log:
Add compat.linux.dummy_rlimits, and disable by default.
Turns out the dummy rlimits fix prlimit(1), but break su(8)
(login-1:4.5-1ubuntu2) - although not sudo(8),
Author: trasz
Date: Sun Oct 18 15:56:47 2020
New Revision: 366808
URL: https://svnweb.freebsd.org/changeset/base/366808
Log:
Slightly tweak linux ptrace(2) debug message; no functional changes.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Fri Oct 16 11:23:30 2020
New Revision: 366756
URL: https://svnweb.freebsd.org/changeset/base/366756
Log:
Set default stack size for Linux apps to 8MB. This matches Linux'
defaults, makes core files smaller, and fixes applications which use
pthread_join(3) in a wrong
Author: trasz
Date: Fri Oct 16 10:10:09 2020
New Revision: 366749
URL: https://svnweb.freebsd.org/changeset/base/366749
Log:
Make linux getrlimit(2) and prlimit(2) return something reasonable
for linux-specific limits. Fixes prlimit (util-linux-2.31.1-0.4ubuntu3.7).
Reviewed by: emaste
Author: trasz
Date: Fri Oct 16 09:58:10 2020
New Revision: 366748
URL: https://svnweb.freebsd.org/changeset/base/366748
Log:
Bump pseudofs size limit from 128kB to 1MB. The old limit could result
in process' memory maps being truncated.
PR: 237883
Submitted by: dchagin
MFC
Author: trasz
Date: Thu Oct 15 12:48:30 2020
New Revision: 366722
URL: https://svnweb.freebsd.org/changeset/base/366722
Log:
With some popular multiplayer games (such as Counter-Strike: Global
Offensive) the Linux Steam client likes to occasionally scan the game
process memory, presumably
Author: trasz
Date: Thu Oct 8 11:04:32 2020
New Revision: 366534
URL: https://svnweb.freebsd.org/changeset/base/366534
Log:
Remove yet another useless assignment, adding a KASSERT just in case.
Reviewed by: kp
Sponsored by: DARPA
Differential Revision:
Author: trasz
Date: Wed Oct 7 12:11:11 2020
New Revision: 366515
URL: https://svnweb.freebsd.org/changeset/base/366515
Log:
Don't use critical section when calling intr_irq_handler() - that function
enters critical section by itself anyway.
Reviewed by: kp
Sponsored by: DARPA
Author: trasz
Date: Mon Oct 5 18:46:14 2020
New Revision: 366456
URL: https://svnweb.freebsd.org/changeset/base/366456
Log:
Tweak arm64's cpu_fetch_syscall_args(). This should make it possible
for the compiler to inline the memcpy().
Reviewed by: andrew
Sponsored by: DARPA
Author: trasz
Date: Mon Oct 5 18:41:35 2020
New Revision: 366454
URL: https://svnweb.freebsd.org/changeset/base/366454
Log:
Drop useless assignment, and add a KASSERT to make sure it really was useless.
Reviewed by: nick, jhb
Sponsored by: DARPA
Differential Revision:
Author: trasz
Date: Sat Oct 3 13:01:07 2020
New Revision: 366392
URL: https://svnweb.freebsd.org/changeset/base/366392
Log:
Optimize riscv's cpu_fetch_syscall_args(), making it possible
for the compiler to inline the memcpy.
Reviewed by: arichardson, mhorne
MFC after:2 weeks
Author: trasz
Date: Sat Oct 3 12:03:08 2020
New Revision: 366391
URL: https://svnweb.freebsd.org/changeset/base/366391
Log:
Move KTRUSERRET() from userret() to ast(). It's a really long
detour - it writes ktrace entries to the filesystem - so the overhead
of ast() won't make any
Author: trasz
Date: Thu Oct 1 18:56:44 2020
New Revision: 366337
URL: https://svnweb.freebsd.org/changeset/base/366337
Log:
Don't ignore the return value from gethostname(3). It probably
cannot happen, but it silences Coverity.
Reviewed by: mav
MFC after:2 weeks
Sponsored by:
Author: trasz
Date: Thu Oct 1 18:45:31 2020
New Revision: 366336
URL: https://svnweb.freebsd.org/changeset/base/366336
Log:
Only clear TDP_NERRNO when needed, ie when it's previously been set.
Reviewed by: kib
Tested by:pho
Sponsored by: DARPA
Differential Revision:
Author: trasz
Date: Tue Sep 29 11:48:22 2020
New Revision: 366251
URL: https://svnweb.freebsd.org/changeset/base/366251
Log:
Build debug kernels with -O2.
LLVM 11 changed the meaning of '-O' from '-O2' to '-O1', which resulted
in debug kernels (with 'makeoptions DEBUG=-g') being built
Author: trasz
Date: Tue Sep 29 11:18:48 2020
New Revision: 366250
URL: https://svnweb.freebsd.org/changeset/base/366250
Log:
Use the 'traced' variable instead of comparing p->p_flag again.
Reviewed by: kib
Sponsored by: DARPA
Differential Revision:
Author: trasz
Date: Sun Sep 27 18:47:06 2020
New Revision: 366205
URL: https://svnweb.freebsd.org/changeset/base/366205
Log:
Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead.
Reviewed by: kib
Sponsored by: DARPA
Differential Revision:
Author: trasz
Date: Sun Sep 27 18:14:01 2020
New Revision: 366201
URL: https://svnweb.freebsd.org/changeset/base/366201
Log:
Shrink struct sysent from 48 to 32 bytes (on LP64; on ILP32 its probably
from 32 to 28) by shrinking some entries and reordering them.
Reviewed by: kib
Author: trasz
Date: Fri Sep 25 10:05:38 2020
New Revision: 366147
URL: https://svnweb.freebsd.org/changeset/base/366147
Log:
Regen after r366145.
Sponsored by: DARPA
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_sysent.c
Author: trasz
Date: Fri Sep 25 09:34:00 2020
New Revision: 366145
URL: https://svnweb.freebsd.org/changeset/base/366145
Log:
Make makesyscalls.lua initialize 'struct sysent' entries using c99
designated initializers. This makes it easier to modify 'struct sysent'
layout.
Reviewed by:
Author: trasz
Date: Thu Sep 17 12:14:24 2020
New Revision: 365834
URL: https://svnweb.freebsd.org/changeset/base/365834
Log:
Reduce code duplication by introducing linux_copyout_sockaddr()
helper function. No functional changes.
Reviewed by: emaste
MFC after:2 weeks
Sponsored
Author: trasz
Date: Thu Sep 17 11:44:45 2020
New Revision: 365833
URL: https://svnweb.freebsd.org/changeset/base/365833
Log:
Add support for SOUND_MIXER_WRITE_MONITOR ioctl. Fixes alsamixer(1)
on my x220.
Reviewed by: emaste
MFC after:2 weeks
Sponsored by: The FreeBSD
Author: trasz
Date: Thu Sep 17 11:39:33 2020
New Revision: 365832
URL: https://svnweb.freebsd.org/changeset/base/365832
Log:
Get rid of sv_errtbl and SV_ABI_ERRNO().
Reviewed by: kib
Sponsored by: DARPA
Differential Revision:https://reviews.freebsd.org/D26388
Modified:
Author: trasz
Date: Tue Sep 15 16:41:21 2020
New Revision: 365755
URL: https://svnweb.freebsd.org/changeset/base/365755
Log:
Move SV_ABI_ERRNO translation into linux-specific code, to simplify
the syscall path and declutter it a bit. No functional changes intended.
Reviewed by: kib
Author: trasz
Date: Mon Sep 14 10:35:39 2020
New Revision: 365713
URL: https://svnweb.freebsd.org/changeset/base/365713
Log:
Skip armv7 bectl tests on CI; they deadlock (""KSTACK_PAGES is 2").
PR: 249229
Sponsored by: DARPA
Modified:
head/lib/libbe/tests/be_create.sh
Author: trasz
Date: Mon Sep 14 10:17:07 2020
New Revision: 365712
URL: https://svnweb.freebsd.org/changeset/base/365712
Log:
Move td_softdep_cleanup() from userret() to ast(); it's infrequent
at best. The schedule_cleanup() function already sets TDF_ASTPENDING.
Reviewed by: kib,
Author: trasz
Date: Mon Sep 14 10:14:03 2020
New Revision: 365711
URL: https://svnweb.freebsd.org/changeset/base/365711
Log:
Move TDP_GEOM check from userret() to ast(); this code path is quite
infrequent.
Reviewed by: kib
No objections:mav
Tested by:pho
MFC after:
Author: trasz
Date: Mon Sep 14 09:44:24 2020
New Revision: 365710
URL: https://svnweb.freebsd.org/changeset/base/365710
Log:
Move racct/rctl throttling from userret() to ast(). There's no reason
for it to sit in the syscall fast path.
Reviewed by: kib
MFC after:2 weeks
Author: trasz
Date: Tue Sep 1 14:58:57 2020
New Revision: 365042
URL: https://svnweb.freebsd.org/changeset/base/365042
Log:
Make sure not to pass NULL to strtoul(3). The values come
from the kernel, but let's try to be on the safe side.
Reviewed by: mav
MFC after:2 weeks
Author: trasz
Date: Tue Sep 1 14:52:35 2020
New Revision: 365040
URL: https://svnweb.freebsd.org/changeset/base/365040
Log:
Fix string overflow that could occur during redirection due to passing
the wrong length to strlcpy(3). It looks like it could overflow into
the next field, isc_user,
Author: trasz
Date: Sun Jul 19 12:25:03 2020
New Revision: 363322
URL: https://svnweb.freebsd.org/changeset/base/363322
Log:
Make linux(4) support the BLKPBSZGET ioctl. Oracle uses it.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
On 0714T0838, Kyle Evans wrote:
> On Mon, Oct 7, 2019 at 2:05 PM Edward Tomasz Napierala
> wrote:
[..]
> > Added: head/lib/libstats/Makefile
> > ==
> > --- /dev/null 00:00:00 1970 (empty, bec
Author: trasz
Date: Sun Jul 19 12:22:32 2020
New Revision: 363321
URL: https://svnweb.freebsd.org/changeset/base/363321
Log:
Add missing bitset(9) MLINKS.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:https://reviews.freebsd.org/D25713
Author: trasz
Date: Sat Jul 18 12:21:08 2020
New Revision: 363307
URL: https://svnweb.freebsd.org/changeset/base/363307
Log:
Make linux fallocate(2) return EOPNOTSUPP, not ENOSYS, on unsupported mode,
as documented in the man page.
MFC after:2 weeks
Sponsored by: The FreeBSD
Author: trasz
Date: Sat Jul 18 11:37:30 2020
New Revision: 363306
URL: https://svnweb.freebsd.org/changeset/base/363306
Log:
Bump the default linux version from 3.2.0 to 3.10.0, which corresponds
to RHEL 7. Required for DB2.
Reviewed by: emaste
MFC after:2 weeks
Sponsored by:
Author: trasz
Date: Sat Jul 18 11:31:31 2020
New Revision: 363305
URL: https://svnweb.freebsd.org/changeset/base/363305
Log:
Regen after r363304.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/linux/linux_proto.h
Author: trasz
Date: Sat Jul 18 11:28:40 2020
New Revision: 363304
URL: https://svnweb.freebsd.org/changeset/base/363304
Log:
Add a trivial linux(4) splice(2) implementation, which simply
returns EINVAL. Fixes grep (grep-3.1-2build1).
PR: kern/218699
Reported by: avos
Author: trasz
Date: Sat Jul 18 10:56:04 2020
New Revision: 363303
URL: https://svnweb.freebsd.org/changeset/base/363303
Log:
Add missing SysV IPC stats to linprocfs(4). Fixes 'ipcs -l',
and also helps Oracle.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential
Author: trasz
Date: Sat Jul 18 10:53:56 2020
New Revision: 363302
URL: https://svnweb.freebsd.org/changeset/base/363302
Log:
Fix bogomips calculation. Previously it was off by half. This was
verified under VMWare Fusion, comparing to what's reported under CentOS,
and by comparing numbers
Author: trasz
Date: Sat Jul 18 10:49:17 2020
New Revision: 363301
URL: https://svnweb.freebsd.org/changeset/base/363301
Log:
Fix two typos in flag names in /proc/cpuinfo.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Sat Jul 11 13:11:54 2020
New Revision: 363094
URL: https://svnweb.freebsd.org/changeset/base/363094
Log:
Make linprocfs(5) report correct tty number in /proc//stat.
Fixes sudo (sudo-1.8.21p2-3ubuntu1.2); previously would fail
with "sudo: no tty present and no askpass
Author: trasz
Date: Sat Jul 11 13:08:16 2020
New Revision: 363093
URL: https://svnweb.freebsd.org/changeset/base/363093
Log:
Make linux stat(2) return the same st_dev for every devfs instance.
The reason for this is to work around an idiosyncrasy of glibc
getttynam(3) implementation: it
Author: trasz
Date: Fri Jul 10 21:41:09 2020
New Revision: 363087
URL: https://svnweb.freebsd.org/changeset/base/363087
Log:
Don't emit warnings on MADV_HUGEPAGE; Firefox uses it a lot.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
Author: trasz
Date: Sun Jul 5 13:15:13 2020
New Revision: 362943
URL: https://svnweb.freebsd.org/changeset/base/362943
Log:
Make linux(4) man page also mention /compat/linux/dev.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/share/man/man4/linux.4
Author: trasz
Date: Sun Jul 5 10:57:28 2020
New Revision: 362941
URL: https://svnweb.freebsd.org/changeset/base/362941
Log:
Fix Linux recvmsg(2) when msg_namelen returned is 0. Previously
it would fail with EINVAL, breaking some of the Python regression
tests.
While here, cap the
Author: trasz
Date: Sat Jul 4 18:01:29 2020
New Revision: 362935
URL: https://svnweb.freebsd.org/changeset/base/362935
Log:
Make the linux rc script use linrdlnk by default.
This fixes Linux gettyname(3), with caveats (see PR).
PR: kern/240767
MFC after:2 weeks
Author: trasz
Date: Sat Jul 4 11:26:03 2020
New Revision: 362930
URL: https://svnweb.freebsd.org/changeset/base/362930
Log:
Add /proc/sys/kernel/tainted to linprocfs(5). Helps LTP.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Sat Jul 4 11:22:35 2020
New Revision: 362929
URL: https://svnweb.freebsd.org/changeset/base/362929
Log:
Make linprocfs(5) create /proc/bus/pci/devices/, and linsysfs(5)
create /sys/class/power_supply/. This silences some warnings
from biology/linux-foldingathome.
On 0630T1828, Mateusz Piotrowski wrote:
> Hi,
>
> On 6/30/20 6:24 PM, Edward Tomasz Napierala wrote:
> > Author: trasz
> > Date: Tue Jun 30 16:24:28 2020
> > New Revision: 362806
> > URL: https://svnweb.freebsd.org/changeset/base/362806
> >
> > Log:
&
Author: trasz
Date: Wed Jul 1 10:37:08 2020
New Revision: 362833
URL: https://svnweb.freebsd.org/changeset/base/362833
Log:
Rework linux accept(2). This makes the code flow easier to follow,
and fixes a bug where calling accept(2) could result in closing fd 0.
Note that the code still
Author: trasz
Date: Tue Jun 30 16:49:43 2020
New Revision: 362807
URL: https://svnweb.freebsd.org/changeset/base/362807
Log:
Fix misplaced voltages/temperatures labels in 'sesutil show'.
PR: bin/247384
Reported by: brd
MFC after:2 weeks
Differential Revision:
Author: trasz
Date: Tue Jun 30 16:24:28 2020
New Revision: 362806
URL: https://svnweb.freebsd.org/changeset/base/362806
Log:
Make linprocfs(5) create the /proc//task/ directores.
This is to silence down some Chromium assertions.
PR: kern/240991
Analyzed by: Alex S
MFC
Author: trasz
Date: Tue Jun 30 16:18:09 2020
New Revision: 362804
URL: https://svnweb.freebsd.org/changeset/base/362804
Log:
Make linux(4) ignore SA_INTERRUPT. The zsh(1) binary from Bionic uses it.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Sun Jun 28 18:56:32 2020
New Revision: 362735
URL: https://svnweb.freebsd.org/changeset/base/362735
Log:
Make linux(4) support SO_PROTOCOL. Running Python test suite
with python3.8 from Focal triggers those.
MFC after:2 weeks
Sponsored by: The FreeBSD
Author: trasz
Date: Sat Jun 27 15:50:35 2020
New Revision: 362699
URL: https://svnweb.freebsd.org/changeset/base/362699
Log:
Make linux(4) warn about unsupported SA_ flags.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
Author: trasz
Date: Sat Jun 27 14:43:29 2020
New Revision: 362693
URL: https://svnweb.freebsd.org/changeset/base/362693
Log:
Regen.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_sysent.c
Author: trasz
Date: Sat Jun 27 14:42:08 2020
New Revision: 362692
URL: https://svnweb.freebsd.org/changeset/base/362692
Log:
Add proper types for linux message queue syscalls; mostly taken
from 32-bit Linuxulator.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Author: trasz
Date: Sat Jun 27 14:39:44 2020
New Revision: 362691
URL: https://svnweb.freebsd.org/changeset/base/362691
Log:
Add syscall definitions for linux xattr syscalls.
MFC after:2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision:
1 - 100 of 1598 matches
Mail list logo