Skip to contentSkip to conversation

package/vsftpd: add SELinux module

PATCH Applied Fabrice Fontaine 2 participants 2 messages Aug 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/vsftpd: add SELinux module

Support for vsftpd is added by the services/ftp module in the SELinux refpolicy.

---
 package/vsftpd/vsftpd.mk | 1 +
 1 file changed, 1 insertion(+)
package/vsftpd/vsftpd.mk +1 -0
index 181f82f397..8daf07c62a 100644
@@ -10,6 +10,7 @@ VSFTPD_LIBS = -lcrypt
 VSFTPD_LICENSE = GPL-2.0
 VSFTPD_LICENSE_FILES = COPYING
 VSFTPD_CPE_ID_VENDOR = vsftpd_project
+VSFTPD_SELINUX_MODULES = ftp
 
 define VSFTPD_DISABLE_UTMPX
 	$(SED) 's/.*VSF_BUILD_UTMPX/#undef VSF_BUILD_UTMPX/' $(@D)/builddefs.h
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#1 lore raw

Fabrice, All,

On 2021-08-01 22:00 +0200, Fabrice Fontaine spake thusly:

Quoted 4 lines

Support for vsftpd is added by the services/ftp module in the SELinux refpolicy.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/vsftpd/vsftpd.mk | 1 +
 1 file changed, 1 insertion(+)
package/vsftpd/vsftpd.mk +1 -0
index 181f82f397..8daf07c62a 100644
@@ -10,6 +10,7 @@ VSFTPD_LIBS = -lcrypt
 VSFTPD_LICENSE = GPL-2.0
 VSFTPD_LICENSE_FILES = COPYING
 VSFTPD_CPE_ID_VENDOR = vsftpd_project
+VSFTPD_SELINUX_MODULES = ftp
 
 define VSFTPD_DISABLE_UTMPX
 	$(SED) 's/.*VSF_BUILD_UTMPX/#undef VSF_BUILD_UTMPX/' $(@D)/builddefs.h
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot