<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-selinux.git, branch dunfell</title>
<subtitle>Mirror of git.yoctoproject.org/meta-selinux.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-selinux.git/atom?h=dunfell</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-selinux.git/atom?h=dunfell'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/'/>
<updated>2023-07-31T19:05:30+00:00</updated>
<entry>
<title>refpolicy: update to 20200229+git</title>
<updated>2023-07-31T19:05:30+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2023-07-27T18:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=1924d975283210f0c36bc3c0e8ce516ccc06961f'/>
<id>urn:sha1:1924d975283210f0c36bc3c0e8ce516ccc06961f</id>
<content type='text'>
* Drop obsolete and unused patches.
* Rebase patches.
* Add patches to make systemd and sysvinit can work with all policy types.

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
(cherry picked from commit 15fed8756aa4828fa12a3d813754b4ca65a7607d)
Signed-off-by: Armin Kuster &lt;akuster@mvista.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>sysklogd: set correct security context for /var/log in initscript</title>
<updated>2023-07-31T19:05:26+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2023-07-27T18:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=4f3ec6e10f13aaf19fbca9a18547f9e72ba1ec0a'/>
<id>urn:sha1:4f3ec6e10f13aaf19fbca9a18547f9e72ba1ec0a</id>
<content type='text'>
We don't need to set security context for /dev/log after syslogd daemon
startup because it is already set by udev. We just need to set the
correct security context for symbolic link /var/log before syslogd
startup.

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
(cherry picked from commit 7d3b1347ae949c7208482694fd773e4bc3f321b4)
Signed-off-by: Armin Kuster &lt;akuster@mvista.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>audit: set correct security context for /var/log/audit</title>
<updated>2023-07-31T19:05:21+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2023-07-27T18:07:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=7bb93ef630fdf21cbc7fc9dc87e7aa917af649bb'/>
<id>urn:sha1:7bb93ef630fdf21cbc7fc9dc87e7aa917af649bb</id>
<content type='text'>
By default /var/log is a symbolic link of /var/volatile/log. But
restorecon does not follow symbolic links then we will encounter the
following error when set /var/log/audit directory:

$ /sbin/restorecon -F /var/log/audit
/sbin/restorecon: SELinux: Could not get canonical path for /var/log/audit restorecon: Permission denied.

Use readlink to find the real path before set security context.

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
(cherry picked from commit 8b79480663bc9de2343e0146ed8d3d0e59ab48be)
Signed-off-by: Armin Kuster &lt;akuster@mvista.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>refpolicy: remove version 2.20190201</title>
<updated>2023-07-31T19:05:12+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2023-07-27T18:07:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=a7732beacdf212a33cc3c3527a0727a7427efa9a'/>
<id>urn:sha1:a7732beacdf212a33cc3c3527a0727a7427efa9a</id>
<content type='text'>
There is no need to maintain two versions of repolicy. Drop this version
and only keep the git version.

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
(cherry picked from commit 9e986d7d794f044464e1af914ddbcd57d8f1c2e9)
Signed-off-by: Armin Kuster &lt;akuster@mvista.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>audit: Add https protocol for clonning repository</title>
<updated>2023-06-26T11:46:49+00:00</updated>
<author>
<name>Shubham Kulkarni</name>
<email>skulkarni@mvista.com</email>
</author>
<published>2023-06-07T07:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=eac905569f8cb4cd058c1bfa5d6ec30f8e318af2'/>
<id>urn:sha1:eac905569f8cb4cd058c1bfa5d6ec30f8e318af2</id>
<content type='text'>
 audit repository clone failing with git protocol as
 github.com requires the https protocol to be used

Signed-off-by: Shubham Kulkarni &lt;skulkarni@mvista.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>openssh: don't overwrite sshd_config unconditionally</title>
<updated>2022-04-18T16:55:06+00:00</updated>
<author>
<name>Nisha Parrakat</name>
<email>Nisha.Parrakat@kpit.com</email>
</author>
<published>2022-03-16T12:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=1a13839d114e6694d5ae2aa5dfa11c6824277b99'/>
<id>urn:sha1:1a13839d114e6694d5ae2aa5dfa11c6824277b99</id>
<content type='text'>
The current implementation was overwriting the sshd_config and sshd
assuming PAM is needed by default

openssh should use the default sshd_config packaged with the component
if no distro specific needs are present and not overwrite the full
sshd_config file

1. If PAM is enabled as a distro then enable the UsePAM option in sshd_config
2. Moved the file sshd to pam directory so that when pam is enabled,
   then replace the default from poky by installing the same

Signed-off-by: Ranjitsinh Rathod &lt;ranjitsinh.rathod@kpit.com&gt;
Signed-off-by: Ranjitsinh Rathod &lt;ranjitsinhrathod1991@gmail.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>libselinux: Fix restorecon_set_sehandle.patch context</title>
<updated>2021-11-23T17:29:30+00:00</updated>
<author>
<name>Jason Andryuk</name>
<email>jandryuk@gmail.com</email>
</author>
<published>2021-10-27T14:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=1fba53261bb8d7d3a5dcf238e388811cbb15219b'/>
<id>urn:sha1:1fba53261bb8d7d3a5dcf238e388811cbb15219b</id>
<content type='text'>
0001-Fix-NULL-pointer-use-in-selinux_restorecon_set_sehandle.patch added
in commit d6ff5a0e67af "libselinux: Backport NULL pointer fix from 3.1"
fails to apply because there is a extra level in the patch context.
The patch cannot apply and do_patch fails.  Fix the context so it builds
again.

Signed-off-by: Jason Andryuk &lt;jandryuk@gmail.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>Remove e2fsprogs override</title>
<updated>2021-11-23T17:29:30+00:00</updated>
<author>
<name>Jason Andryuk</name>
<email>jandryuk@gmail.com</email>
</author>
<published>2021-10-27T14:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=d5ea35444d83859a04792c8b2b65d761a87eae09'/>
<id>urn:sha1:d5ea35444d83859a04792c8b2b65d761a87eae09</id>
<content type='text'>
commit b2b3ea27e3e3 "e2fsprogs: Superseded by upstream." removed
lib-ext2fs-ext2_ext_attr.h-add-xattr-index.patch from SRC_URI.  It was
no longer applied, but the file was not deleted.  Do that now.

e2fsprogs_%.bbappend/e2fsprogs_selinux.inc now do nothing, so remove
them as well.

Signed-off-by: Jason Andryuk &lt;jandryuk@gmail.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>e2fsprogs: Remove misc_create_inode.c-label_rootfs.patch</title>
<updated>2021-11-23T17:29:30+00:00</updated>
<author>
<name>Jason Andryuk</name>
<email>jandryuk@gmail.com</email>
</author>
<published>2021-10-27T14:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=0de5dc55459c0a8eb8527ea03521af2ee5793b39'/>
<id>urn:sha1:0de5dc55459c0a8eb8527ea03521af2ee5793b39</id>
<content type='text'>
An equivalent patch was merged into 1.45.7: commit 7616fd6a599e
"create_inode: set xattrs to the root directory as well".  The existing
one still applies and actualy breaks building because of duplicate
lables.  Remove it.

Signed-off-by: Jason Andryuk &lt;jandryuk@gmail.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
<entry>
<title>MAINTAINERS: update email address</title>
<updated>2021-10-18T17:10:17+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-10-15T13:18:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-selinux.git/commit/?id=46bcf059a131843e18df65056de520ab24861182'/>
<id>urn:sha1:46bcf059a131843e18df65056de520ab24861182</id>
<content type='text'>
Include example send-email

(cherry picked from commit 48038b45dc114592991c069eb66d174820c0701d)

Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Joe MacDonald &lt;joe@deserted.net&gt;
</content>
</entry>
</feed>
