<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/linux/linux_uid16.c, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-06-17T19:33:39Z</updated>
<entry>
<title>linux: remove the always curthread argument from lconvpath</title>
<updated>2022-06-17T19:33:39Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2021-11-25T21:42:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=753605353d79d1dde655779273013b6400daaaf7'/>
<id>urn:sha1:753605353d79d1dde655779273013b6400daaaf7</id>
<content type='text'>
(cherry picked from commit af4051d25055fee086c0f78421e68fec20640f17)
</content>
</entry>
<entry>
<title>linux: remove redundant SDT tracepoints</title>
<updated>2022-06-17T19:22:15Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2022-06-17T19:22:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8c134531f6f1ed9d4d06d361125efe90f3ea5a8'/>
<id>urn:sha1:e8c134531f6f1ed9d4d06d361125efe90f3ea5a8</id>
<content type='text'>
Remove all the 'entry' and 'return' probes; they clutter up the source
and are redundant to FBT.

Reviewed By:    dchagin
Sponsored By:   EPSRC
Differential Revision:  https://reviews.freebsd.org/D30040

(cherry picked from commit 5e8caee259d0cc73301b8fc60c8fb388e7f745af)
</content>
</entry>
<entry>
<title>linux: add sysctl compat.linux.use_emul_path</title>
<updated>2020-08-18T22:04:22Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-08-18T22:04:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a125ed50a6c82329997ecf4df593056a8a616cbe'/>
<id>urn:sha1:a125ed50a6c82329997ecf4df593056a8a616cbe</id>
<content type='text'>
This is a step towards facilitating jails with only Linux binaries.
Supporting emul_path adds path lookups which are completely spurious
if the binary at hand runs in a Linux-based root directory.

It defaults to on (== current behavior).

make -C /root/linux-5.3-rc8 -s -j 1 bzImage:

use_emul_path=1: 101.65s user 68.68s system 100% cpu 2:49.62 total
use_emul_path=0: 101.41s user 64.32s system 100% cpu 2:45.02 total
</content>
</entry>
<entry>
<title>compat/linux: Remove obsoleted and somewhat confusing comments related to COMPAT_43.</title>
<updated>2019-08-11T19:17:29Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-08-11T19:17:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62375ca79c40b51e1070aea51862ed32d42afd51'/>
<id>urn:sha1:62375ca79c40b51e1070aea51862ed32d42afd51</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D21200
</content>
</entry>
<entry>
<title>Remove unused argument to priv_check_cred.</title>
<updated>2018-12-11T19:32:16Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2018-12-11T19:32:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc426dd31990b8b50b210efc450e404596548ca1'/>
<id>urn:sha1:cc426dd31990b8b50b210efc450e404596548ca1</id>
<content type='text'>
Patch mostly generated with cocinnelle:

@@
expression E1,E2;
@@

- priv_check_cred(E1,E2,0)
+ priv_check_cred(E1,E2)

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>sys/compat: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:13:23Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:13:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7f2d13d60721803155950276e0282fcd1e6bacc3'/>
<id>urn:sha1:7f2d13d60721803155950276e0282fcd1e6bacc3</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>Where possible we will use M_LINUX malloc(9) type.</title>
<updated>2015-05-24T16:14:41Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2015-05-24T16:14:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0d3ea8c655d56fd364dba6d91dec8d3e443cb80'/>
<id>urn:sha1:e0d3ea8c655d56fd364dba6d91dec8d3e443cb80</id>
<content type='text'>
Move M_FUTEX defines to the linux_common.ko.

Differential Revision:	https://reviews.freebsd.org/D1077
Reviewed by:	emaste
</content>
</entry>
<entry>
<title>cred: add proc_set_cred helper</title>
<updated>2015-03-16T00:10:03Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2015-03-16T00:10:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=daf63fd2f9a8d0402a05c2f4c7326d96cf7b0a23'/>
<id>urn:sha1:daf63fd2f9a8d0402a05c2f4c7326d96cf7b0a23</id>
<content type='text'>
The goal here is to provide one place altering process credentials.

This eases debugging and opens up posibilities to do additional work when such
an action is performed.
</content>
</entry>
<entry>
<title>Remove the no-at variants of the kern_xx() syscall helpers.  E.g., we</title>
<updated>2014-11-13T18:01:51Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-11-13T18:01:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e646651d358c6de266562e0dc5c621b7ea4cd8d'/>
<id>urn:sha1:6e646651d358c6de266562e0dc5c621b7ea4cd8d</id>
<content type='text'>
have both kern_open() and kern_openat(); change the callers to use
kern_openat().

This removes one (sometimes two) levels of indirection and
consolidates arguments checks.

Reviewed by:	mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
</content>
</entry>
<entry>
<title>- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging</title>
<updated>2013-11-25T07:38:45Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2013-11-25T07:38:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54366c0bd7d0ea904fb9ab32460c66d57684a7cb'/>
<id>urn:sha1:54366c0bd7d0ea904fb9ab32460c66d57684a7cb</id>
<content type='text'>
  option, unbreak the lock tracing release semantic by embedding
  calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the inlined
  version of the releasing functions for mutex, rwlock and sxlock.
  Failing to do so skips the lockstat_probe_func invokation for
  unlocking.
- As part of the LOCKSTAT support is inlined in mutex operation, for
  kernel compiled without lock debugging options, potentially every
  consumer must be compiled including opt_kdtrace.h.
  Fix this by moving KDTRACE_HOOKS into opt_global.h and remove the
  dependency by opt_kdtrace.h for all files, as now only KDTRACE_FRAMES
  is linked there and it is only used as a compile-time stub [0].

[0] immediately shows some new bug as DTRACE-derived support for debug
in sfxge is broken and it was never really tested.  As it was not
including correctly opt_kdtrace.h before it was never enabled so it
was kept broken for a while.  Fix this by using a protection stub,
leaving sfxge driver authors the responsibility for fixing it
appropriately [1].

Sponsored by:	EMC / Isilon storage division
Discussed with:	rstone
[0] Reported by:	rstone
[1] Discussed with:	philip
</content>
</entry>
</feed>
