Author: dchagin
Date: Sun Jan 17 19:28:13 2016
New Revision: 294233
URL: https://svnweb.freebsd.org/changeset/base/294233
Log:
Prevent double free of control in common sendmsg path as sosend
already freeing it.
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/
Author: dchagin
Date: Sat Jan 23 08:04:29 2016
New Revision: 294620
URL: https://svnweb.freebsd.org/changeset/base/294620
Log:
Fix a typo.
MFC after:3 days
Modified:
head/sys/amd64/linux/linux.h
Modified: head/sys/amd64/linux/linux.h
=
Author: dchagin
Date: Sat Jan 23 08:08:06 2016
New Revision: 294621
URL: https://svnweb.freebsd.org/changeset/base/294621
Log:
Remove obsolete comment.
MFC after:3 days
Modified:
head/sys/amd64/linux/linux_machdep.c
Modified: head/sys/amd64/linux/linux_machdep.c
Author: dchagin
Date: Sat Dec 26 09:04:47 2015
New Revision: 292743
URL: https://svnweb.freebsd.org/changeset/base/292743
Log:
Do not allow access to emuldata for non Linux processes.
Pointed out by: mjg@
Security: https://admbugs.freebsd.org/show_bug.cgi?id=679
Modified:
hea
Author: dchagin
Date: Sat Dec 26 09:09:49 2015
New Revision: 292744
URL: https://svnweb.freebsd.org/changeset/base/292744
Log:
Return EINVAL in case of incorrect sigev_signo value specified instead of
panicing.
Modified:
head/sys/compat/linux/linux_timer.c
Modified: head/sys/compat/linux/li
Author: dchagin
Date: Sun Dec 27 15:37:07 2015
New Revision: 292777
URL: https://svnweb.freebsd.org/changeset/base/292777
Log:
Verify that tv_sec value specified in settimeofday() and clock_settime()
(CLOCK_REALTIME case) system calls is non negative.
This commit hides a kernel panic in atrt
2015-12-28 1:35 GMT+03:00 Bruce Evans :
> On Sun, 27 Dec 2015, Ian Lepore wrote:
>
> On Sun, 2015-12-27 at 15:37 +0000, Dmitry Chagin wrote:
>>
>>> Author: dchagin
>>> Date: Sun Dec 27 15:37:07 2015
>>> New Revision: 292777
>>> URL: https://s
Author: dchagin
Date: Sat May 21 08:01:14 2016
New Revision: 300359
URL: https://svnweb.freebsd.org/changeset/base/300359
Log:
Correct an argument param of linux_sched_* system calls as a struct
l_sched_param
does not defined due to it's nature.
MFC after:1 week
Modified:
head/sys
Author: dchagin
Date: Sat May 21 08:03:13 2016
New Revision: 300360
URL: https://svnweb.freebsd.org/changeset/base/300360
Log:
Regen after r300359 (struct l_sched_param removal).
MFC after:1 week
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
he
Author: dchagin
Date: Sun May 22 12:26:03 2016
New Revision: 300411
URL: https://svnweb.freebsd.org/changeset/base/300411
Log:
Minor style(9) cleanup, no functional changes.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_file.c
Modified: head/sys/compat/linux/linux_file.c
==
+1,9 @@
/* $NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $ */
/*-
- * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
+ * Copyright (c) 2009-2016 Dmitry Chagin
+ * Copyright (c) 2005 Emmanuel Dreyfus
+ * All rights reserved.
*
* Redistribution and use in source and
Author: dchagin
Date: Sun May 22 12:35:50 2016
New Revision: 300413
URL: https://svnweb.freebsd.org/changeset/base/300413
Log:
Due to lack the priority propagation feature replace sx by mutex. WIth this
commit NPTL tests are ends in 1 minute faster.
MFC after:1 week
Modified:
head/
Author: dchagin
Date: Sun May 22 12:37:40 2016
New Revision: 300414
URL: https://svnweb.freebsd.org/changeset/base/300414
Log:
For future use move futex timeout code to the separate function and
switch to the high resolution sbintime_t.
MFC after:1 week
Modified:
head/sys/compat/li
Author: dchagin
Date: Sun May 22 12:46:34 2016
New Revision: 300415
URL: https://svnweb.freebsd.org/changeset/base/300415
Log:
Add macro to convert errno and use it when appropriate.
MFC after:1 week
Modified:
head/sys/amd64/amd64/vm_machdep.c
head/sys/i386/i386/vm_machdep.c
head
Author: dchagin
Date: Sun May 22 12:49:08 2016
New Revision: 300416
URL: https://svnweb.freebsd.org/changeset/base/300416
Log:
Add a missing errno translation for SO_ERROR optname.
PR: 135458
Reported by: Stefan Schmidt @ stadtbuch.de
MFC after:1 week
Modified:
head/sy
Author: dchagin
Date: Sun May 22 19:04:34 2016
New Revision: 300429
URL: https://svnweb.freebsd.org/changeset/base/300429
Log:
Remove a now unused global declaration of some sysentvec struct.
MFC after:2 week
Modified:
head/sys/sys/sysent.h
Modified: head/sys/sys/sysent.h
==
Author: dchagin
Date: Sun May 22 19:08:29 2016
New Revision: 300431
URL: https://svnweb.freebsd.org/changeset/base/300431
Log:
Convert proto family in both directions. The linux and native values for
local and inet are identical, but for inet6 values differ.
PR: 155040
Reporte
Author: dchagin
Date: Tue May 24 05:29:41 2016
New Revision: 300569
URL: https://svnweb.freebsd.org/changeset/base/300569
Log:
Don't leak fp in case where fo_ioctl() returns an error.
Reported by: C Turt
MFC after:1 week
Modified:
head/sys/compat/linux/linux_ioctl.c
Modified: he
Author: dchagin
Date: Sat Apr 23 20:29:55 2016
New Revision: 298519
URL: https://svnweb.freebsd.org/changeset/base/298519
Log:
Fix streams and svr4 module dependency. Both modules are complaining about
undefined symbol svr4_delete_socket which was moved from streams to the svr4
module
in r1
Author: dchagin
Date: Sat Apr 23 20:31:18 2016
New Revision: 298520
URL: https://svnweb.freebsd.org/changeset/base/298520
Log:
Allow to build svr4 module with SYSV support separatelly from the kernel
build.
PR: 208464
Reported by: Kristoffer Eriksson
MFC after:2 week
Mo
Author: dchagin
Date: Fri Apr 29 19:10:22 2016
New Revision: 298793
URL: https://svnweb.freebsd.org/changeset/base/298793
Log:
The iwm_nic_error() defined if IWM_DEBUG is defined.
Modified:
head/sys/dev/iwm/if_iwm.c
Modified: head/sys/dev/iwm/if_iwm.c
Author: dchagin
Date: Mon May 9 07:38:47 2016
New Revision: 299249
URL: https://svnweb.freebsd.org/changeset/base/299249
Log:
Add a forgotten in r283424 .eh_frame section with CFI & FDE records to allow
stack unwinding through signal handler.
Reported by: Dmitry Sivachenko
MFC after:
Author: dchagin
Date: Sun May 24 17:27:59 2015
New Revision: 283462
URL: https://svnweb.freebsd.org/changeset/base/283462
Log:
Add prototypes for static futex functions.
Differential Revision:https://reviews.freebsd.org/D1519
Reviewed by: trasz
Modified:
head/sys/compat/linux/
Author: dchagin
Date: Sun May 24 17:29:18 2015
New Revision: 283463
URL: https://svnweb.freebsd.org/changeset/base/283463
Log:
Do not use struct l_timespec without conversion. While here move
args->timeout handling before acquiring the futex key at FUTEX_WAIT path.
Differential Revision:
Author: dchagin
Date: Sun May 24 17:30:31 2015
New Revision: 283464
URL: https://svnweb.freebsd.org/changeset/base/283464
Log:
Delete the duplicate of linux_to_native_clockid() function.
Differential Revision:https://reviews.freebsd.org/D1521
Reviewed by: trasz
Modified:
head/
Author: dchagin
Date: Sun May 24 17:33:21 2015
New Revision: 283465
URL: https://svnweb.freebsd.org/changeset/base/283465
Log:
Add preliminary fallocate system call implementation
to emulate posix_fallocate() function.
Differential Revision:https://reviews.freebsd.org/D1523
Revi
Author: dchagin
Date: Sun May 24 17:35:42 2015
New Revision: 283466
URL: https://svnweb.freebsd.org/changeset/base/283466
Log:
Regen for r283465.
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
head/sys/amd64/linux/linux_syscalls.c
head/sys/amd64/linux/
Author: dchagin
Date: Sun May 24 17:38:02 2015
New Revision: 283467
URL: https://svnweb.freebsd.org/changeset/base/283467
Log:
Call nosys in case when the incorrect syscall number is specified.
Reported by: trinity
Modified:
head/sys/amd64/linux/linux_sysvec.c
head/sys/amd64/linux/sys
Author: dchagin
Date: Sun May 24 17:39:18 2015
New Revision: 283468
URL: https://svnweb.freebsd.org/changeset/base/283468
Log:
Regen for r283467.
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
head/sys/amd64/linux/linux_syscalls.c
head/sys/amd64/linux/
Author: dchagin
Date: Sun May 24 17:40:14 2015
New Revision: 283469
URL: https://svnweb.freebsd.org/changeset/base/283469
Log:
As fo_fill_kinfo() does not check fo_fill_kinfo to NULL
add a fo_fill_kinfo op to eventfdops.
Reported by: trinity
Modified:
head/sys/compat/linux/linux_event
Author: dchagin
Date: Sun May 24 17:42:45 2015
New Revision: 283470
URL: https://svnweb.freebsd.org/changeset/base/283470
Log:
Add EPOLLERR flag handling to epoll.
Tested by:abi at abinet dot ru
Modified:
head/sys/compat/linux/linux_event.c
head/sys/compat/linux/linux_event.h
Modi
Author: dchagin
Date: Sun May 24 17:44:08 2015
New Revision: 283471
URL: https://svnweb.freebsd.org/changeset/base/283471
Log:
According to Linux man sigaltstack(3) shall return EINVAL if the ss
argument is not a null pointer, and the ss_flags member pointed to by ss
contains flags other tha
Author: dchagin
Date: Sun May 24 17:44:42 2015
New Revision: 283472
URL: https://svnweb.freebsd.org/changeset/base/283472
Log:
Add vdso and stack names to the /proc/self/maps.
Modified:
head/sys/compat/linprocfs/linprocfs.c
Modified: head/sys/compat/linprocfs/linprocfs.c
Author: dchagin
Date: Sun May 24 17:46:04 2015
New Revision: 283473
URL: https://svnweb.freebsd.org/changeset/base/283473
Log:
Add support for /proc//auxv.
Modified:
head/sys/compat/linprocfs/linprocfs.c
Modified: head/sys/compat/linprocfs/linprocfs.c
=
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/compat/linux/linux.c Sun May 24 17:47:20 2015
(r283474)
@@ -0,0 +1,205 @@
+/*-
+ * Copyright (c) 2015 Dmitry Chagin
+ * All rights
Author: dchagin
Date: Sun May 24 17:48:34 2015
New Revision: 283475
URL: https://svnweb.freebsd.org/changeset/base/283475
Log:
Convert Linux sigsets before showing.
Linux kernel displays sigset always as 16x4 bit mask.
Modified:
head/sys/compat/linprocfs/linprocfs.c
Modified: head/sys/comp
Author: dchagin
Date: Sun May 24 17:49:09 2015
New Revision: 283476
URL: https://svnweb.freebsd.org/changeset/base/283476
Log:
Convert Linux signal number to the FreeBSD.
Modified:
head/sys/compat/linux/linux_timer.c
Modified: head/sys/compat/linux/linux_timer.c
=
Author: dchagin
Date: Sun May 24 17:53:48 2015
New Revision: 283478
URL: https://svnweb.freebsd.org/changeset/base/283478
Log:
Simplify linprocfs_doprocenviron(). Remove extra proc visibility checks
and initialize pn_vis by well known procfs_candebug().
Modified:
head/sys/compat/linprocfs/l
Author: dchagin
Date: Sun May 24 17:56:02 2015
New Revision: 283479
URL: https://svnweb.freebsd.org/changeset/base/283479
Log:
The kernel sends signals to the processes via ABI specific sv_sendsig method.
Native ABI do not need signal conversion, only emulators may want this.
Usually
emulat
Author: dchagin
Date: Sun May 24 17:57:07 2015
New Revision: 283480
URL: https://svnweb.freebsd.org/changeset/base/283480
Log:
Add utimensat() system call.
The patch developed by Jilles Tjoelker and Andrew Wilcox and
adopted for lemul branch by me.
Modified:
head/sys/amd64/linux/linux_
Author: dchagin
Date: Sun May 24 17:58:24 2015
New Revision: 283482
URL: https://svnweb.freebsd.org/changeset/base/283482
Log:
Regen for r283480.
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
head/sys/amd64/linux/linux_syscalls.c
head/sys/amd64/linux/
Author: dchagin
Date: Sun May 24 17:59:17 2015
New Revision: 283483
URL: https://svnweb.freebsd.org/changeset/base/283483
Log:
Convert signal number to native for VT_SETMODE ioctl and remove
strange and invalid ISSIGVALID macro.
The code has not been tested right way but it was originally br
Author: dchagin
Date: Sun May 24 18:00:14 2015
New Revision: 283484
URL: https://svnweb.freebsd.org/changeset/base/283484
Log:
Implement epoll_pwait() system call.
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys/amd64/linux32/linux32_dummy.c
head/sys/amd64/linux32/syscalls.master
Author: dchagin
Date: Sun May 24 18:02:17 2015
New Revision: 283486
URL: https://svnweb.freebsd.org/changeset/base/283486
Log:
Regen for r283484.
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 18:03:14 2015
New Revision: 283487
URL: https://svnweb.freebsd.org/changeset/base/283487
Log:
Reduce duplication between MD Linux code by moving msg related
struct definitions out into the compat/linux/linux_socket.h
Modified:
head/sys/amd64/linux/linux.h
Author: dchagin
Date: Sun May 24 18:04:04 2015
New Revision: 283488
URL: https://svnweb.freebsd.org/changeset/base/283488
Log:
Implement recvmmsg() and sendmmsg() system calls.
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys/amd64/linux/syscalls.master
head/sys/amd64/linux32/linux32
Author: dchagin
Date: Sun May 24 18:05:21 2015
New Revision: 283489
URL: https://svnweb.freebsd.org/changeset/base/283489
Log:
Regen for r283488.
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
head/sys/amd64/linux/linux_syscalls.c
head/sys/amd64/linux/
Author: dchagin
Date: Sun May 24 18:06:12 2015
New Revision: 283490
URL: https://svnweb.freebsd.org/changeset/base/283490
Log:
Since FreeBSD supports SOCK_CLOEXEC & SOCK_NONBLOCK options
remove its emulation via fcntl call from Linuxulator.
Modified:
head/sys/compat/linux/linux_socket.c
Mo
Author: dchagin
Date: Sun May 24 18:06:46 2015
New Revision: 283491
URL: https://svnweb.freebsd.org/changeset/base/283491
Log:
Properly check tv_nsec value. The tv_nsec field can also be one
of the special value UTIME_NOW or UTIME_OMIT.
Modified:
head/sys/compat/linux/linux_misc.c
Modified
Author: dchagin
Date: Sun May 24 18:08:01 2015
New Revision: 283492
URL: https://svnweb.freebsd.org/changeset/base/283492
Log:
Implement Linux specific syncfs() system call.
Modified:
head/sys/amd64/linux/linux_dummy.c
head/sys/amd64/linux/syscalls.master
head/sys/amd64/linux32/linux32_du
Author: dchagin
Date: Sun May 24 18:09:01 2015
New Revision: 283493
URL: https://svnweb.freebsd.org/changeset/base/283493
Log:
Regen for r283492.
Modified:
head/sys/amd64/linux/linux_proto.h
head/sys/amd64/linux/linux_syscall.h
head/sys/amd64/linux/linux_syscalls.c
head/sys/amd64/linux/
Author: dchagin
Date: Sun May 24 18:10:07 2015
New Revision: 283494
URL: https://svnweb.freebsd.org/changeset/base/283494
Log:
Fix an mbuf(9) leak in sendmsg() under failure condition and
remove unneeded check for failed M_WAITOK allocation.
Found by: Brainy Code Scanner
Reported by: Ma
Author: dchagin
Date: Sun May 24 18:11:22 2015
New Revision: 283495
URL: https://svnweb.freebsd.org/changeset/base/283495
Log:
Hide vfs.pfs.trace variable if it is not used.
Modified:
head/sys/fs/pseudofs/pseudofs.c
head/sys/modules/pseudofs/Makefile
Modified: head/sys/fs/pseudofs/pseudofs
Author: dchagin
Date: Sun May 24 18:12:04 2015
New Revision: 283496
URL: https://svnweb.freebsd.org/changeset/base/283496
Log:
The latest cp tool is trying to use the btrfs clone operation that is
implemented via ioctl interface. First of all return ENOTSUP for this
operation as a cp fallbac
Author: dchagin
Date: Sun May 24 18:13:21 2015
New Revision: 283497
URL: https://svnweb.freebsd.org/changeset/base/283497
Log:
Convert SCM_TIMESTAMP in recvmsg().
Modified:
head/sys/compat/linux/linux_socket.c
head/sys/compat/linux/linux_socket.h
Modified: head/sys/compat/linux/linux_socke
Author: dchagin
Date: Sun May 24 18:14:38 2015
New Revision: 283498
URL: https://svnweb.freebsd.org/changeset/base/283498
Log:
Linux nanosleep() and clock_nanosleep() system calls always
writes the remaining time into the structure pointed to by rmtp
unless rmtp is NULL. The value of *rmtp c
Author: dchagin
Date: Mon May 25 20:44:46 2015
New Revision: 283544
URL: https://svnweb.freebsd.org/changeset/base/283544
Log:
When I merged the lemul branch I missied kib@'s r282708 commit.
This is not the final fix as I need properly cleanup thread resources
before other threads suicide.
Author: dchagin
Date: Fri May 29 05:46:58 2015
New Revision: 283680
URL: https://svnweb.freebsd.org/changeset/base/283680
Log:
Move linux64 and linux_common to it's right place and make them not
depend on bhyve.
Submitted by: Oliver Pinter
Modified:
head/sys/modules/Makefile
Modified
Author: dchagin
Date: Fri May 29 05:50:33 2015
New Revision: 283681
URL: https://svnweb.freebsd.org/changeset/base/283681
Log:
The linux_common module only for 64bit Linuxulators.
Its my fault.
Modified:
head/sys/modules/Makefile
Modified: head/sys/modules/Makefile
Author: dchagin
Date: Sat Jun 6 06:12:14 2015
New Revision: 284051
URL: https://svnweb.freebsd.org/changeset/base/284051
Log:
Finish r283544. In exec case properly detach threads from user space
before suicide.
Modified:
head/sys/compat/linux/linux_emul.c
Modified: head/sys/compat/linux/l
Author: dchagin
Date: Mon Jun 8 17:39:25 2015
New Revision: 284159
URL: https://svnweb.freebsd.org/changeset/base/284159
Log:
Futex is an aligned 32-bit integer. Use the proper instruction and
operand when dereferencing futex pointer.
Modified:
head/sys/amd64/linux/linux_support.s
Modifie
Author: dchagin
Date: Sat Jun 20 05:40:35 2015
New Revision: 284626
URL: https://svnweb.freebsd.org/changeset/base/284626
Log:
Add EPOLLRDHUP support.
Tested by:abi at abinet dot ru
Modified:
head/sys/compat/linux/linux_event.c
head/sys/compat/linux/linux_event.h
Modified: head/sy
Author: dchagin
Date: Tue Mar 8 15:08:22 2016
New Revision: 296501
URL: https://svnweb.freebsd.org/changeset/base/296501
Log:
Link the newly created process to the corresponding parent as
if CLONE_PARENT is set, then the parent of the new process will
be the same as that of the calling proc
Author: dchagin
Date: Tue Mar 8 15:12:49 2016
New Revision: 296502
URL: https://svnweb.freebsd.org/changeset/base/296502
Log:
According to POSIX and Linux implementation the alarm() system call
is always successfull.
So, ignore any errors and return 0 as a Linux do.
XXX. Unlike POSIX,
Author: dchagin
Date: Tue Mar 8 15:15:34 2016
New Revision: 296503
URL: https://svnweb.freebsd.org/changeset/base/296503
Log:
Linux accept() system call return EOPNOTSUPP errno instead of EINVAL
for UDP sockets.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modi
Author: dchagin
Date: Tue Mar 8 15:55:43 2016
New Revision: 296504
URL: https://svnweb.freebsd.org/changeset/base/296504
Log:
Does not leak fp. While here remove bogus cast of fp->f_data.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linu
Author: dchagin
Date: Tue Mar 8 19:08:55 2016
New Revision: 296542
URL: https://svnweb.freebsd.org/changeset/base/296542
Log:
Load linux64 module for amd64 if Linux abi enabled.
Reviewed by: emaste@
MFC after:1 week
Differential Revision:https://reviews.freebsd.org/D5567
Author: dchagin
Date: Tue Mar 8 19:20:57 2016
New Revision: 296543
URL: https://svnweb.freebsd.org/changeset/base/296543
Log:
Put a commit message from r296502 about Linux alarm() system call
behaviour to the source.
Suggested by: emaste@
MFC after:1 week
Modified:
head/sys/c
Author: dchagin
Date: Tue Mar 8 19:40:01 2016
New Revision: 296546
URL: https://svnweb.freebsd.org/changeset/base/296546
Log:
Better english.
Submitted by: Kevin P. Neal
MFC after:1 week
Modified:
head/sys/compat/linux/linux_misc.c
Modified: head/sys/compat/linux/linux_misc.c
===
Author: dchagin
Date: Sun Mar 20 11:40:52 2016
New Revision: 297060
URL: https://svnweb.freebsd.org/changeset/base/297060
Log:
Rework r296543:
1. Limit secs to INT32_MAX / 2 to avoid errors from kern_setitimer().
Assert that kern_setitimer() returns 0.
Remove bogus cast of secs.
Author: dchagin
Date: Sun Mar 20 13:21:20 2016
New Revision: 297061
URL: https://svnweb.freebsd.org/changeset/base/297061
Log:
Implement fstatfs64 system call.
PR: 181012
Submitted by: John Wehle
MFC after:1 week
Modified:
head/sys/amd64/linux32/linux32_dummy.c
head/s
Author: dchagin
Date: Sun Mar 20 13:23:01 2016
New Revision: 297062
URL: https://svnweb.freebsd.org/changeset/base/297062
Log:
Regen for r297061 (fstatfs64 Linux syscall).
MFC after:1 week
Modified:
head/sys/amd64/linux32/linux32_proto.h
head/sys/amd64/linux32/linux32_syscall.h
h
Author: dchagin
Date: Sun Mar 20 14:06:27 2016
New Revision: 297063
URL: https://svnweb.freebsd.org/changeset/base/297063
Log:
Whitespaces, style(9) fixes. No functional changes.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_stats.c
Modified: head/sys/compat/linux/linux_sta
Author: dchagin
Date: Sun Mar 20 18:31:30 2016
New Revision: 297070
URL: https://svnweb.freebsd.org/changeset/base/297070
Log:
Return EOVERFLOW in case when actual statfs values are large enough and
not fit into 32 bit fileds of a Linux struct statfs.
PR: 181012
MFC after:
Author: dchagin
Date: Sun Mar 20 19:06:21 2016
New Revision: 297072
URL: https://svnweb.freebsd.org/changeset/base/297072
Log:
Check bsd_to_linux_statfs() return value. Forgotten in r297070.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_stats.c
Modified: head/sys/compat/lin
Author: dchagin
Date: Sat Mar 26 19:15:23 2016
New Revision: 297296
URL: https://svnweb.freebsd.org/changeset/base/297296
Log:
Implement O_NONBLOCK flag via fcntl(F_SETFL) for eventfd object.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_event.c
Modified: head/sys/compat/li
Author: dchagin
Date: Sat Mar 26 19:16:53 2016
New Revision: 297297
URL: https://svnweb.freebsd.org/changeset/base/297297
Log:
When write(2) on eventfd object fails with the error EAGAIN do not return
the number of bytes written.
MFC after:1 week
Modified:
head/sys/compat/linux/lin
Author: dchagin
Date: Sun Mar 27 08:10:20 2016
New Revision: 297309
URL: https://svnweb.freebsd.org/changeset/base/297309
Log:
Whitespaces and style(9) fix. No functional changes.
MFC after:1 week
Modified:
head/sys/compat/linux/linux_socket.c
Modified: head/sys/compat/linux/linux_s
Author: dchagin
Date: Sun Mar 27 08:12:01 2016
New Revision: 297310
URL: https://svnweb.freebsd.org/changeset/base/297310
Log:
iConvert Linux SOL_IPV6 level.
MFC after:1 week
Modified:
head/sys/amd64/linux/linux.h
head/sys/amd64/linux32/linux.h
head/sys/compat/linux/linux_socket.
Author: dchagin
Date: Sun Mar 27 10:09:10 2016
New Revision: 297313
URL: https://svnweb.freebsd.org/changeset/base/297313
Log:
Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET.
Pointed out by: ae@
Modified:
head/sys/amd64/linux/linux.h
head/sys/amd64/li
Author: dchagin
Date: Sun Apr 3 06:33:16 2016
New Revision: 297519
URL: https://svnweb.freebsd.org/changeset/base/297519
Log:
Move Linux specific times tests up to guarantee the values are defined.
CID: 1305178
Submitted by: pfg@
MFC after:1 week
Modified:
head/sys/comp
Author: dchagin
Date: Sun Apr 10 07:11:29 2016
New Revision: 297781
URL: https://svnweb.freebsd.org/changeset/base/297781
Log:
More complete implementation of /proc/self/limits.
Fix the way the code accesses process limits struct - pointed out by mjg@.
PR: 207386
Reviewed by:
Author: dchagin
Date: Fri Jan 25 14:40:54 2013
New Revision: 245908
URL: http://svnweb.freebsd.org/changeset/base/245908
Log:
Arithmetic on pointers takes into account the size of the type. Properly cast
the pointer to avoid incorrect pointer scaling.
MFC after:1 Week
Modified:
head
301 - 383 of 383 matches
Mail list logo