because file is newly added)
+++ head/sys/compat/linux/linux_common.hFri May 3 08:42:49 2019
(r347052)
@@ -0,0 +1,38 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2019 Dmitry Chagin
+ *
+ * Redistribution and use in source and binary forms, with or with
Author: dchagin
Date: Mon May 6 18:46:42 2019
New Revision: 347196
URL: https://svnweb.freebsd.org/changeset/base/347196
Log:
The build process generates assym.inc from genassym.o, so don't forget
to clean genassym.o
MFC after:2 weeks
Modified:
head/sys/modules/linux/Makefile
he
Author: dchagin
Date: Mon May 6 19:56:13 2019
New Revision: 347202
URL: https://svnweb.freebsd.org/changeset/base/347202
Log:
Complete r347052 (https://reviews.freebsd.org/D20137) as it it was not
a final revision.
Fix style issues and change bool-like variables from int to bool.
Re
Author: dchagin
Date: Mon May 6 19:57:51 2019
New Revision: 347203
URL: https://svnweb.freebsd.org/changeset/base/347203
Log:
Rewrite linux_ifflags() in more readable Linuxulator style.
Reviewed by: emaste
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org
Author: dchagin
Date: Mon May 6 20:01:13 2019
New Revision: 347204
URL: https://svnweb.freebsd.org/changeset/base/347204
Log:
Adds sys/class/net devices to linsysfs.
Only two interfaces are created eth0 and lo and they expose
the following properties:
address, addr_len, flags, ifindex,
Author: dchagin
Date: Tue May 7 05:08:13 2019
New Revision: 347218
URL: https://svnweb.freebsd.org/changeset/base/347218
Log:
Remove wrong copyright line. Discussed with Carlos Neira.
Reported by: Rodney W. Grimes
MFC after:2 weeks
Differential Revision:https://reviews.fre
вт, 7 мая 2019 г. в 08:32, Rodney W. Grimes :
> > Author: dchagin
> > Date: Tue May 7 05:08:13 2019
> > New Revision: 347218
> > URL: https://svnweb.freebsd.org/changeset/base/347218
> >
> > Log:
> > Remove wrong copyright line. Discussed with Carlos Neira.
> >
> > Reported by:Rodney
Author: dchagin
Date: Mon May 13 17:48:16 2019
New Revision: 347533
URL: https://svnweb.freebsd.org/changeset/base/347533
Log:
Our bsd_to_linux_sockaddr() and linux_to_bsd_sockaddr() functions
alter the userspace sockaddr to convert the format between linux and BSD
versions.
That's the mini
Author: dchagin
Date: Mon May 13 18:14:20 2019
New Revision: 347537
URL: https://svnweb.freebsd.org/changeset/base/347537
Log:
Linuxulator getpeername() returns EINVAL in case then namelen less then 0.
MFC after:2 weeks
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/s
Author: dchagin
Date: Mon May 13 18:24:29 2019
New Revision: 347538
URL: https://svnweb.freebsd.org/changeset/base/347538
Log:
Linuxulator depends on a fundamental kernel settings such as SMP. Many
of them listed in opt_global.h which is not generated while building
modules outside of a kern
Author: dchagin
Date: Mon May 13 18:28:40 2019
New Revision: 347540
URL: https://svnweb.freebsd.org/changeset/base/347540
Log:
Add warning to the Linuxulator makefiles that building it outside of a
kernel does not make sence.
PR: 222861
MFC after:2 weeks
Differential Rev
вт, 14 мая 2019 г. в 20:02, Konstantin Belousov :
> Author: kib
> Date: Tue May 14 17:02:20 2019
> New Revision: 347566
> URL: https://svnweb.freebsd.org/changeset/base/347566
>
> Log:
> Mitigations for Microarchitectural Data Sampling.
>
> Microarchitectural buffers on some Intel processors u
ср, 15 мая 2019 г. в 11:10, Konstantin Belousov :
> On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote:
> > вт, 14 мая 2019 г. в 20:02, Konstantin Belousov :
> >
> > > Author: kib
> > > Date: Tue May 14 17:02:20 2019
> > > New Revision: 34
чт, 16 мая 2019 г. в 16:29, Konstantin Belousov :
> Author: kib
> Date: Thu May 16 13:28:48 2019
> New Revision: 347695
> URL: https://svnweb.freebsd.org/changeset/base/347695
>
> Log:
> amd64 pmap: rework delayed invalidation, removing global mutex.
>
> For machines having cmpxcgh16b instruct
сб, 18 мая 2019 г. в 11:44, Konstantin Belousov :
> On Sat, May 18, 2019 at 11:35:29AM +0300, Dmitry Chagin wrote:
> > чт, 16 мая 2019 г. в 16:29, Konstantin Belousov :
> >
> > > Author: kib
> > > Date: Thu May 16 13:28:48 2019
> > > New Revision: 34
Author: dchagin
Date: Sun May 19 09:23:20 2019
New Revision: 347969
URL: https://svnweb.freebsd.org/changeset/base/347969
Log:
Linux send() call returns EAGAIN instead of ENOTCONN in case when the
socket is non-blocking and connect() is not finished yet.
Initial patch developed by Steven
вс, 19 мая 2019 г. в 20:05, Tijl Coosemans :
> On Mon, 13 May 2019 17:48:16 + (UTC) Dmitry Chagin
> wrote:
> > Author: dchagin
> > Date: Mon May 13 17:48:16 2019
> > New Revision: 347533
> > URL: https://svnweb.freebsd.org/changeset/base/347533
> >
>
Author: dchagin
Date: Tue May 21 18:03:58 2019
New Revision: 348056
URL: https://svnweb.freebsd.org/changeset/base/348056
Log:
Do not leak sa in linux_recvfrom() call if kern_recvit() fails.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/li
Author: dchagin
Date: Tue May 21 18:05:57 2019
New Revision: 348057
URL: https://svnweb.freebsd.org/changeset/base/348057
Log:
Do not use uninitialised sa.
Reported by: tijl@
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/linux_soc
Author: dchagin
Date: Tue May 21 18:08:19 2019
New Revision: 348058
URL: https://svnweb.freebsd.org/changeset/base/348058
Log:
Do not leak sa in linux_recvmsg() call if kern_recvit() fails.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/lin
Author: dchagin
Date: Tue Mar 14 18:29:23 2017
New Revision: 315278
URL: https://svnweb.freebsd.org/changeset/base/315278
Log:
Fix usage of the same 'i' variable in the external and nested loops.
Submitted by: Svyatoslav
Sponsored by: PVS-Studio
MFC after:1 week
Modified:
hea
Author: dchagin
Date: Sat Mar 18 18:14:17 2017
New Revision: 315498
URL: https://svnweb.freebsd.org/changeset/base/315498
Log:
Check for negative nanoseconds.
Linux do that in timespec_valid().
Reported by: vangyzen@
MFC after:1 week
Modified:
head/sys/compat/linux/linux_time.c
Author: dchagin
Date: Sat Mar 18 18:19:31 2017
New Revision: 315499
URL: https://svnweb.freebsd.org/changeset/base/315499
Log:
Remove superflous break statment.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/linux_socket.c
===
Author: dchagin
Date: Sat Mar 18 18:23:30 2017
New Revision: 315501
URL: https://svnweb.freebsd.org/changeset/base/315501
Log:
To reduce code duplication move socket defines to the MI path.
MFC after:1 week
Modified:
head/sys/amd64/linux/linux.h
head/sys/amd64/linux32/linux.h
hea
Author: dchagin
Date: Sat Mar 18 18:31:04 2017
New Revision: 315503
URL: https://svnweb.freebsd.org/changeset/base/315503
Log:
As noted by Roel Bouwman Linux allows a large buffer size than the
struct ucred size. Fix this.
PR: 102956
Reported by: Roel Bouwman
MFC after:
Author: dchagin
Date: Sat Mar 18 18:34:29 2017
New Revision: 315505
URL: https://svnweb.freebsd.org/changeset/base/315505
Log:
Implement getrandom() syscall.
Note. GRND_RANDOM option is not supported for now.
MFC after:1 month
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys
Author: dchagin
Date: Sat Mar 18 18:38:12 2017
New Revision: 315506
URL: https://svnweb.freebsd.org/changeset/base/315506
Log:
Glibc get_nprocs() and get_nprocs_conf() uses the sysfs cpu infrastructure
to get number of processors. Implement /sys/devices/system/cpu/.
MFC after:1 month
Author: dchagin
Date: Sat Mar 25 13:32:28 2017
New Revision: 315948
URL: https://svnweb.freebsd.org/changeset/base/315948
Log:
Update to tcsh 6.20.00
Added:
head/contrib/tcsh/dotlock.c
- copied unchanged from r315512, vendor/tcsh/dist/dotlock.c
head/contrib/tcsh/dotlock.h
- copied
Author: dchagin
Date: Sat Mar 25 14:14:11 2017
New Revision: 315952
URL: https://svnweb.freebsd.org/changeset/base/315952
Log:
MFV r315950:
Update vendor/tcsh to git b605cb561d
Vendor changes:
1. PR/471: Daiki Ueno: Delay interpreting arginp until we've processed
our startup fil
Author: dchagin
Date: Sat Mar 25 15:47:29 2017
New Revision: 315957
URL: https://svnweb.freebsd.org/changeset/base/315957
Log:
Implement Linux mincore() system call.
This is necessary for the upcoming drm-next.
Suggested by: hselasky@
MFC after:1 month
Modified:
head/sys/amd64/li
Author: dchagin
Date: Thu Mar 30 19:42:49 2017
New Revision: 316288
URL: https://svnweb.freebsd.org/changeset/base/316288
Log:
Add kern_mincore() helper for micore() syscall.
Suggested by: kib@
Reviewed by: kib@
MFC after:1 month
Differential Revision:https://reviews.free
Author: dchagin
Date: Thu Mar 30 19:45:07 2017
New Revision: 316289
URL: https://svnweb.freebsd.org/changeset/base/316289
Log:
Use kern_mincore() helper instead of abusing syscall entry.
Suggested by: kib@
Reviewed by: kib@
MFC after:1 month
Differential Revision:https://
Author: dchagin
Date: Sun Apr 2 07:46:13 2017
New Revision: 316393
URL: https://svnweb.freebsd.org/changeset/base/316393
Log:
As noted by bde@ negative tv_sec values are not checked for overflow,
so overflow can still occur. Fix that. Also remove the extra check for
tv_sec size as under COM
Author: dchagin
Date: Sun Apr 2 07:47:28 2017
New Revision: 316394
URL: https://svnweb.freebsd.org/changeset/base/316394
Log:
The value in the tv_nsec field should be in the range 0 to 9.
Pointed out by: bde@
MFC after:1 week
Modified:
head/sys/compat/linux/linux_
Author: dchagin
Date: Sun Apr 2 07:49:05 2017
New Revision: 316395
URL: https://svnweb.freebsd.org/changeset/base/316395
Log:
Remove excess tv_nsec test as this is done by linux_to_native_timespec().
MFC after:1 week
Modified:
head/sys/compat/linux/linux_futex.c
Modified: head/sys/
Author: dchagin
Date: Sun Apr 2 18:16:00 2017
New Revision: 316426
URL: https://svnweb.freebsd.org/changeset/base/316426
Log:
Use the kern_clock_nanosleep() to implement Linux clock_nanosleep() with
the proper handling of the TIMER_ABSTIME flag.
XMFC after: r315526
MFC after:1
Author: dchagin
Date: Fri Apr 7 05:37:08 2017
New Revision: 316599
URL: https://svnweb.freebsd.org/changeset/base/316599
Log:
Prevent ushort values overflow when convert new Linux 64-bit ipc
struct to the old Linux ipc struct.
Reported by: PVS-Studio
XMFC with:r314866
MFC aft
Author: dchagin
Date: Sun Apr 23 07:43:50 2017
New Revision: 317323
URL: https://svnweb.freebsd.org/changeset/base/317323
Log:
Add Evdev ioctl handler to the Linuxulator.
PR: 218627
Submitted by: Jan Kokemüller
Reported by: Jan Kokemüller
MFC after:1 week
Modified:
h
Author: dchagin
Date: Sun Apr 23 07:57:30 2017
New Revision: 317324
URL: https://svnweb.freebsd.org/changeset/base/317324
Log:
Map Linux CLOCK_BOOTTIME to native CLOCK_UPTIME.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_time.c
Modified: head/sys/compat/linux/linux_time.c
Author: dchagin
Date: Sun Apr 30 05:56:57 2017
New Revision: 317601
URL: https://svnweb.freebsd.org/changeset/base/317601
Log:
Fix symlinkat() which use the newdfd argument to look up the old path,
while it should use it for the new path instead.
Reported by: trasz@
MFC after:1 mon
Author: dchagin
Date: Mon May 1 12:25:37 2017
New Revision: 317645
URL: https://svnweb.freebsd.org/changeset/base/317645
Log:
Fix NULL pointer dereference in futex_wake_op() in case when the same
address specified for arguments uaddr and uaddr2.
PR: 218987
Reported by: luke.
Author: dchagin
Date: Sat Sep 17 08:10:01 2016
New Revision: 305896
URL: https://svnweb.freebsd.org/changeset/base/305896
Log:
Implement BLKSSZGET ioctl for the Linuxulator.
PR: 212700
Submitted by: Erik Cederstrand
Reported by: Erik Cederstrand
MFC after:1 week
Modifi
Author: dchagin
Date: Sun Feb 5 14:17:09 2017
New Revision: 313284
URL: https://svnweb.freebsd.org/changeset/base/313284
Log:
Update syscall.master to 4.10-rc6. Also fix comments, a typo,
and wrong numbering for a few unimplemented syscalls.
For 32-bit Linuxulator, socketcall() syscall w
Author: dchagin
Date: Sun Feb 5 14:19:19 2017
New Revision: 313285
URL: https://svnweb.freebsd.org/changeset/base/313285
Log:
Regen after r313284.
MFC after:2 week
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
head/sys/amd64/linux/linux_syscal
Author: dchagin
Date: Sun Feb 12 15:22:50 2017
New Revision: 313684
URL: https://svnweb.freebsd.org/changeset/base/313684
Log:
Fix r313284.
Members of the syscall argument structures are padded to a word size. So,
for COMPAT_LINUX32 we should convert user supplied system call arguments
Author: dchagin
Date: Tue Feb 14 19:13:27 2017
New Revision: 313740
URL: https://svnweb.freebsd.org/changeset/base/313740
Log:
Replace Linuxulator implementation of readdir(), getdents() and
getdents64() with wrapper over kern_getdirentries().
The patch was originally written by emaste@ a
Author: dchagin
Date: Sat Feb 18 07:21:50 2017
New Revision: 313912
URL: https://svnweb.freebsd.org/changeset/base/313912
Log:
Finich r313684.
Convert linux_recv(), linux_send() and linux_accept() system call arguments
to the register_t type too.
PR: 217161
MFC after:
Author: dchagin
Date: Sat Feb 18 09:39:20 2017
New Revision: 313913
URL: https://svnweb.freebsd.org/changeset/base/313913
Log:
Initialize cap_rights before use.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/linux_socket.c
===
Author: dchagin
Date: Sat Feb 18 10:01:17 2017
New Revision: 313914
URL: https://svnweb.freebsd.org/changeset/base/313914
Log:
Style(9), some XXX comments fix. No functional changes.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/linu
Author: dchagin
Date: Sun Feb 19 07:38:11 2017
New Revision: 313940
URL: https://svnweb.freebsd.org/changeset/base/313940
Log:
Implement rt_tgsigqueueinfo system call used by glibc for pthread_sigqueue(3).
MFC after:2 week
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys/amd64
Author: dchagin
Date: Thu Feb 23 08:17:42 2017
New Revision: 314132
URL: https://svnweb.freebsd.org/changeset/base/314132
Log:
Right clock defines specified in linux_timer.h.
Get rid of spirious clock defines from linux_misc.h.
MFC after:1 week
Modified:
head/sys/compat/linux/linux
Author: dchagin
Date: Fri Feb 24 19:47:27 2017
New Revision: 314218
URL: https://svnweb.freebsd.org/changeset/base/314218
Log:
Revert r314217. Commit is not match that I have approved.
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys/amd64/linux32/linux32_dummy.c
head/sys/amd64/linux
Author: dchagin
Date: Sun Feb 26 09:35:44 2017
New Revision: 314291
URL: https://svnweb.freebsd.org/changeset/base/314291
Log:
Change Linuxulator timerfd syscalls definition to match actual Linux one.
MFC after:1 month
Modified:
head/sys/amd64/linux/syscalls.master
head/sys/amd64/l
Author: dchagin
Date: Sun Feb 26 09:37:25 2017
New Revision: 314292
URL: https://svnweb.freebsd.org/changeset/base/314292
Log:
Regen after r314291 (timerfd definition).
MFC after:1 month
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_sysent.c
head/sys/amd
Author: dchagin
Date: Sun Feb 26 09:40:42 2017
New Revision: 314293
URL: https://svnweb.freebsd.org/changeset/base/314293
Log:
Return EOVERFLOW error in case then the size of tv_sec field of struct
timespec
in COMPAT_LINUX32 Linuxulator's not equal to the size of native tv_sec.
MFC after
Author: dchagin
Date: Sun Feb 26 09:42:34 2017
New Revision: 314294
URL: https://svnweb.freebsd.org/changeset/base/314294
Log:
Nostly style(9) changes, replace unused eventfd_truncate()
by default invfo_truncate() method.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_even
Author: dchagin
Date: Sun Feb 26 09:48:18 2017
New Revision: 314295
URL: https://svnweb.freebsd.org/changeset/base/314295
Log:
Implement timerfd family syscalls.
MFC after:1 month
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys/amd64/linux32/linux32_dummy.c
head/sys/compat/
Author: dchagin
Date: Sun Feb 26 19:51:44 2017
New Revision: 314309
URL: https://svnweb.freebsd.org/changeset/base/314309
Log:
Return EINVAL when an invalid file descriptor is specified.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_event.c
Modified: head/sys/compat/linux/
Author: dchagin
Date: Sun Feb 26 19:54:17 2017
New Revision: 314311
URL: https://svnweb.freebsd.org/changeset/base/314311
Log:
Restore signal mask in epoll_pwait.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_event.c
Modified: head/sys/compat/linux/linux_event.c
==
Author: dchagin
Date: Sun Feb 26 19:57:18 2017
New Revision: 314312
URL: https://svnweb.freebsd.org/changeset/base/314312
Log:
Change Linux epoll_pwait syscall definition to match Linux actual one.
MFC after:1 month
Modified:
head/sys/amd64/linux/syscalls.master
head/sys/amd64/linu
Author: dchagin
Date: Sun Feb 26 19:59:28 2017
New Revision: 314313
URL: https://svnweb.freebsd.org/changeset/base/314313
Log:
Regen for r314312 (Linux epoll_pwait).
MFC after:1 month
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_systrace_args.c
head/sys
Author: dchagin
Date: Sun Feb 26 20:01:58 2017
New Revision: 314314
URL: https://svnweb.freebsd.org/changeset/base/314314
Log:
Return EINVAL in case when an invalid size of signal mask specified.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_event.c
Modified: head/sys/comp
Author: dchagin
Date: Mon Feb 27 16:53:52 2017
New Revision: 314343
URL: https://svnweb.freebsd.org/changeset/base/314343
Log:
Unify eventfd ioctl method and use it for other similar interfaces.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_event.c
Modified: head/sys/compa
Author: dchagin
Date: Mon Feb 27 16:55:09 2017
New Revision: 314344
URL: https://svnweb.freebsd.org/changeset/base/314344
Log:
Return EINVAL when an invalid file descriptor specified.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_event.c
Modified: head/sys/compat/linux/lin
Author: dchagin
Date: Tue Feb 28 19:49:21 2017
New Revision: 314402
URL: https://svnweb.freebsd.org/changeset/base/314402
Log:
FreeBSD does not have analgue for epill EPOLLPRI event type.
So, do not set EPOLLPRI event acidently.
Also, do not set EPOLLWRNORM and EPOLLRDNORM events as epoll
Author: dchagin
Date: Tue Feb 28 19:54:22 2017
New Revision: 314403
URL: https://svnweb.freebsd.org/changeset/base/314403
Log:
Linux epoll return ENOENT error in case when op is EPOLL_CTL_MOD or
EPOLL_CTL_DEL, and fd is not registered with this epoll instance.
MFC after:1 month
Modif
Author: dchagin
Date: Tue Feb 28 19:55:16 2017
New Revision: 314404
URL: https://svnweb.freebsd.org/changeset/base/314404
Log:
Linux epoll return EEXIST on case when op is EPOLL_CTL_ADD, and the supplied
file descriptor fd is already registered with this epoll instance.
MFC after:1 mo
Author: dchagin
Date: Sat Mar 4 06:54:05 2017
New Revision: 314643
URL: https://svnweb.freebsd.org/changeset/base/314643
Log:
Hide Linux socketcall constants under corresponding #ifdef since
they are used only in i386 Linuxulator.
MFC after:1 week
Modified:
head/sys/compat/linux/l
Author: dchagin
Date: Sat Mar 4 08:57:39 2017
New Revision: 314647
URL: https://svnweb.freebsd.org/changeset/base/314647
Log:
Remove attribute __packed from some IPC struct definition since
Linuxulator is x86 only.
The only notable differences in algnment for an LP64 64-bit system
when co
Author: dchagin
Date: Sat Mar 4 08:59:21 2017
New Revision: 314648
URL: https://svnweb.freebsd.org/changeset/base/314648
Log:
Style(9).
MFC after:1 month
Modified:
head/sys/compat/linux/linux_ipc.c
Modified: head/sys/compat/linux/linux_ipc.c
Author: dchagin
Date: Tue Mar 7 17:07:16 2017
New Revision: 314866
URL: https://svnweb.freebsd.org/changeset/base/314866
Log:
Reduce code duplication between MD Linux code by moving SYSV IPC 64-bit
related struct definitions out into the MI path.
Invert the native ipc structs to the Linu
Author: dchagin
Date: Tue Mar 7 17:09:12 2017
New Revision: 314867
URL: https://svnweb.freebsd.org/changeset/base/314867
Log:
Linux kernel does not export to the user space ipc_perm.mode values
other than S_IRWXUGO (0777).
MFC after:1 month
Modified:
head/sys/compat/linux/linux_ip
Author: dchagin
Date: Tue Mar 7 17:12:22 2017
New Revision: 314868
URL: https://svnweb.freebsd.org/changeset/base/314868
Log:
Linux semop system call return EINVAL in case when the invalid nsops
or semid values specified.
MFC after:1 month
Modified:
head/sys/compat/linux/linux_ipc
Author: dchagin
Date: Sat Jul 22 09:03:40 2017
New Revision: 321366
URL: https://svnweb.freebsd.org/changeset/base/321366
Log:
Style(9) whitespace fix.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_ioctl.h
Modified: head/sys/compat/linux/linux_ioctl.h
==
Author: dchagin
Date: Tue Jul 25 06:59:35 2017
New Revision: 321460
URL: https://svnweb.freebsd.org/changeset/base/321460
Log:
Replace unnecessary _KERNEL by double-include protection.
MFC after:2 week
Modified:
head/sys/fs/fdescfs/fdesc.h
Modified: head/sys/fs/fdescfs/fdesc.h
=
Author: dchagin
Date: Sun Jul 30 21:24:20 2017
New Revision: 321728
URL: https://svnweb.freebsd.org/changeset/base/321728
Log:
Avoid using [LINUX_]SHAREDPAGE constant directly in the vdso code.
This is needed for https://reviews.freebsd.org/D11780.
Reported by: kib@
Modified:
head/sys
Author: dchagin
Date: Tue Aug 1 03:40:19 2017
New Revision: 321839
URL: https://svnweb.freebsd.org/changeset/base/321839
Log:
Implement proper Linux /dev/fd and /proc/self/fd behavior by adding
Linux specific things to the native fdescfs file system.
Unlike FreeBSD, the Linux fdescfs is
Author: dchagin
Date: Thu May 9 21:42:43 2013
New Revision: 250423
URL: http://svnweb.freebsd.org/changeset/base/250423
Log:
Retire write-only PCB_GS32BIT pcb flag on amd64.
Modified:
head/sys/amd64/amd64/genassym.c
head/sys/amd64/amd64/machdep.c
head/sys/amd64/ia32/ia32_signal.c
head/
Author: dchagin
Date: Sat Apr 5 16:54:47 2014
New Revision: 264151
URL: http://svnweb.freebsd.org/changeset/base/264151
Log:
Prevent alq from panic when the invalid alq_file path specified.
MFC after:1 week
Modified:
head/sys/kern/kern_alq.c
Modified: head/sys/kern/kern_alq.c
=
Author: dchagin
Date: Thu Nov 13 05:26:14 2014
New Revision: 274462
URL: https://svnweb.freebsd.org/changeset/base/274462
Log:
Add the ppoll() system call.
Export kern_poll() needed by an upcoming Linuxulator change.
Differential Revision:https://reviews.freebsd.org/D1133
Review
Author: dchagin
Date: Thu Nov 13 05:28:06 2014
New Revision: 274463
URL: https://svnweb.freebsd.org/changeset/base/274463
Log:
Regen for r274462.
Modified:
head/sys/compat/freebsd32/freebsd32_proto.h
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscall
Author: dchagin
Date: Thu Nov 13 14:46:33 2014
New Revision: 274470
URL: https://svnweb.freebsd.org/changeset/base/274470
Log:
Bump FreeBSD_version for r274462 - add ppoll() system call.
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
===
Author: dchagin
Date: Mon Nov 17 20:25:21 2014
New Revision: 274635
URL: https://svnweb.freebsd.org/changeset/base/274635
Log:
Use the correct device as the power_for_sleep() method
always pass request up to parent bridge.
Reviewed by: jhb
MFC after:1 week
xMFC: r274386,r
Author: dchagin
Date: Wed Nov 19 11:05:45 2014
New Revision: 274707
URL: https://svnweb.freebsd.org/changeset/base/274707
Log:
Revert r274635 as it's completely wrong.
The parent of a pci dev device is a pciX device which do not
implement the PCIB_POWER_FOR_SLEEP method from pcib_if.m.
Modi
Author: dchagin
Date: Sun Apr 5 18:25:23 2015
New Revision: 281113
URL: https://svnweb.freebsd.org/changeset/base/281113
Log:
Fix wrong kassert msg in uma.
PR: 199172
Submitted by: luke.tw gmail com
MFC after:1 week
Modified:
head/sys/vm/uma_core.c
Modified: head/sys/
Author: dchagin
Date: Mon Apr 6 18:45:41 2015
New Revision: 281162
URL: https://svnweb.freebsd.org/changeset/base/281162
Log:
Properly calculate "UMA Zones" per cpu cache size. Avoid allocating
an extra struct uma_cache since the struct uma_zone already has one.
PR: 199169
Su
Author: dchagin
Date: Sun Apr 12 06:21:58 2015
New Revision: 281451
URL: https://svnweb.freebsd.org/changeset/base/281451
Log:
Rework r281162. Indeed, the flexible array member is preferable here.
Suggested by: Justin T. Gibbs
MFC after:3 days
Modified:
head/sys/vm/uma_core.c
Author: dchagin
Date: Sun May 24 14:29:35 2015
New Revision: 283369
URL: https://svnweb.freebsd.org/changeset/base/283369
Log:
In preparation for switching linuxulator to the use the native 1:1
threads print the thread id in addition to the pid in debug messages.
Modified:
head/sys/amd64/li
Author: dchagin
Date: Sun May 24 14:33:19 2015
New Revision: 283370
URL: https://svnweb.freebsd.org/changeset/base/283370
Log:
In preparation for switching linuxulator to the use the native 1:1
threads introduce linux_exit() stub instead of sys_exit() call
(which terminates process).
In th
Author: dchagin
Date: Sun May 24 14:34:46 2015
New Revision: 283371
URL: https://svnweb.freebsd.org/changeset/base/283371
Log:
Regen for r283370.
Modified:
head/sys/amd64/linux32/linux32_proto.h
head/sys/amd64/linux32/linux32_syscall.h
head/sys/amd64/linux32/linux32_syscalls.c
head/sys/
Author: dchagin
Date: Sun May 24 14:36:33 2015
New Revision: 283372
URL: https://svnweb.freebsd.org/changeset/base/283372
Log:
In preparation for switching linuxulator to the use the native 1:1
threads split sys_thr_exit() up into sys_thr_exit() and kern_thr_exit().
Move
Where the second w
Author: dchagin
Date: Sun May 24 14:37:45 2015
New Revision: 283373
URL: https://svnweb.freebsd.org/changeset/base/283373
Log:
In preparation for switching linuxulator to the use the native 1:1
threads introduce kern_thr_alloc() which will be used later in the
linux_clone().
Differentia
Author: dchagin
Date: Sun May 24 14:39:26 2015
New Revision: 283374
URL: https://svnweb.freebsd.org/changeset/base/283374
Log:
In preparation for switching linuxulator to the use the native 1:1
threads refactor kern_sched_rr_get_interval() and sys_sched_rr_get_interval().
Add a kern_sched_rr
Author: dchagin
Date: Sun May 24 14:40:41 2015
New Revision: 283375
URL: https://svnweb.freebsd.org/changeset/base/283375
Log:
In preparation for switching linuxulator to the use the native 1:1
threads use MI linux_sched_rr_get_interval() in i386.
Differential Revision:https://rev
Author: dchagin
Date: Sun May 24 14:43:06 2015
New Revision: 283376
URL: https://svnweb.freebsd.org/changeset/base/283376
Log:
Regen for r283375.
Modified:
head/sys/i386/linux/linux_proto.h
head/sys/i386/linux/linux_syscall.h
head/sys/i386/linux/linux_syscalls.c
head/sys/i386/linux/linu
Author: dchagin
Date: Sun May 24 14:44:06 2015
New Revision: 283377
URL: https://svnweb.freebsd.org/changeset/base/283377
Log:
In preparation for switching linuxulator to the use the native 1:1
threads split sys_sched_getparam(), sys_sched_setparam(),
sys_sched_getscheduler(), sys_sched_sets
Author: dchagin
Date: Sun May 24 14:44:57 2015
New Revision: 283378
URL: https://svnweb.freebsd.org/changeset/base/283378
Log:
Remove a now unused include.
Differential Revision:https://reviews.freebsd.org/D1035
Reviewed by: trasz
Modified:
head/sys/amd64/linux32/linux32_machd
Author: dchagin
Date: Sun May 24 14:45:57 2015
New Revision: 283379
URL: https://svnweb.freebsd.org/changeset/base/283379
Log:
Implement a Linux version of sched_getparam() && sched_setparam().
Temporarily use the first thread in proc.
Differential Revision:https://reviews.freebsd
Author: dchagin
Date: Sun May 24 14:47:00 2015
New Revision: 283380
URL: https://svnweb.freebsd.org/changeset/base/283380
Log:
Regen for r283379.
Modified:
head/sys/amd64/linux32/linux32_proto.h
head/sys/amd64/linux32/linux32_syscall.h
head/sys/amd64/linux32/linux32_syscalls.c
head/sys/
Author: dchagin
Date: Sun May 24 14:49:21 2015
New Revision: 283381
URL: https://svnweb.freebsd.org/changeset/base/283381
Log:
In preparation for switching linuxulator to the use the native 1:1
threads add per thread emulator state data.
Differential Revision:https://reviews.freeb
101 - 200 of 383 matches
Mail list logo