Skip to contentSkip to conversation

linux-pam: uses fork() needs MMU

PATCH New Waldemar Brodkorb 4 participants 5 messages Aug 18, 2016 – Aug 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-pam: uses fork() needs MMU

Fixes:
http://autobuild.buildroot.net/results/8c9/8c9a5fe52f762b4ff4444cf41efdf0d3cf203986/

---
 package/linux-pam/Config.in  | 1 +
 package/nodm/Config.in       | 1 +
 package/python-pam/Config.in | 1 +
 package/rsh-redone/Config.in | 2 ++
 package/util-linux/Config.in | 2 ++
 5 files changed, 7 insertions(+)
package/linux-pam/Config.in +1 -0
index f6cf530..7044073 100644
@@ -11,6 +11,7 @@ config BR2_PACKAGE_LINUX_PAM
 	# for details.
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+	depends on BR2_USE_MMU # fork()
 	help
 	  A Security Framework that Provides Authentication for Applications
 
package/nodm/Config.in +1 -0
index b8629a2..97ce8c3 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_NODM
 	depends on !BR2_STATIC_LIBS # linux-pam
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
 	depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs wordexp.h
+	depends on BR2_USE_MMU # linux-pam
 	select BR2_PACKAGE_XLIB_LIBX11
 	select BR2_PACKAGE_LINUX_PAM
 	help
package/python-pam/Config.in +1 -0
index 497bcd3..02865d0 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_PYTHON_PAM
 	depends on BR2_PACKAGE_PYTHON # C extension not compatible with python3
 	depends on BR2_ENABLE_LOCALE # linux-pam
 	depends on BR2_USE_WCHAR # linux-pam
+	depends on BR2_USE_MMU # linux-pam
 	depends on !BR2_STATIC_LIBS # linux-pam
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
 	select BR2_PACKAGE_LINUX_PAM
package/rsh-redone/Config.in +2 -0
index 6258369..6a8aec0 100644
@@ -17,6 +17,7 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+	depends on BR2_USE_MMU # linux-pam
 	select BR2_PACKAGE_LINUX_PAM
 
 comment "rlogind needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
@@ -31,6 +32,7 @@ config BR2_PACKAGE_RSH_REDONE_RSHD
 	depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+	depends on BR2_USE_MMU # linux-pam
 	select BR2_PACKAGE_LINUX_PAM
 
 comment "rshd needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library"
package/util-linux/Config.in +2 -0
index 429dfa7..657bcdd 100644
@@ -63,6 +63,7 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH
 	depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+	depends on BR2_USE_MMU # linux-pam
 	select BR2_PACKAGE_LINUX_PAM
 	help
 	  Change login shell, real user name and information
@@ -127,6 +128,7 @@ config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS
 	depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+	depends on BR2_USE_MMU # linux-pam
 	select BR2_PACKAGE_LINUX_PAM
 	help
 	  Build login utilities (last, login, su, sulogin)
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 linux-pam: uses fork() needs MMU

Hi Waldemar,

Quoted 4 lines · Waldemar Brodkorb

Fixes:
http://autobuild.buildroot.net/results/8c9/8c9a5fe52f762b4ff4444cf41efdf0d3cf203986/

[...]

package/util-linux/Config.in config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH · line 69

Quoted 12 lines
package/util-linux/Config.in +1 -0
index 429dfa7..657bcdd 100644
@@ -63,6 +63,7 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH
 	depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
 	depends on !BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
+	depends on BR2_USE_MMU # linux-pam
 	select BR2_PACKAGE_LINUX_PAM
 	help
 	  Change login shell, real user name and information

Lots of packages select BR2_PACKAGE_UTIL_LINUX. All of them (and all packages that select them) now need to depend on BR2_USE_MMU.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 linux-pam: uses fork() needs MMU

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Hi Waldemar,

Quoted 4 lines · Waldemar Brodkorb

Fixes:
http://autobuild.buildroot.net/results/8c9/8c9a5fe52f762b4ff4444cf41efdf0d3cf203986/

[...]

Quoted 15 lines
Quoted 9 lines
package/util-linux/Config.in +0 -0
index 429dfa7..657bcdd 100644
@@ -63,6 +63,7 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH

depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam depends on !BR2_STATIC_LIBS
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam

package/util-linux/Config.in +1 -0
+	depends on BR2_USE_MMU # linux-pam
Quoted 3 lines

select BR2_PACKAGE_LINUX_PAM
help
Change login shell, real user name and information

Lots of packages select BR2_PACKAGE_UTIL_LINUX. All of them (and all packages that select them) now need to depend on BR2_USE_MMU.

Notice that this is only for BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS / BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH (which nothing selects), not the toplevel util-linux option.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 linux-pam: uses fork() needs MMU

Hi Peter,

Quoted 25 lines · Peter Korsgaard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Quoted 4 lines · Waldemar Brodkorb

Fixes:
http://autobuild.buildroot.net/results/8c9/8c9a5fe52f762b4ff4444cf41efdf0d3cf203986/

[...]

Quoted 15 lines
Quoted 9 lines
package/util-linux/Config.in +0 -0
index 429dfa7..657bcdd 100644
@@ -63,6 +63,7 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH

depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam depends on !BR2_STATIC_LIBS
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam

package/util-linux/Config.in +1 -0
+	depends on BR2_USE_MMU # linux-pam
Quoted 3 lines

select BR2_PACKAGE_LINUX_PAM
help
Change login shell, real user name and information

Lots of packages select BR2_PACKAGE_UTIL_LINUX. All of them (and all packages that select them) now need to depend on BR2_USE_MMU.

Quoted 3 lines

Notice that this is only for BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS / BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH (which nothing selects), not the toplevel util-linux option.

Right. Sorry for the noise.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#4 lore raw

PATCH 1/1 linux-pam: uses fork() needs MMU

In reply to Waldemar Brodkorb

Hello,

Quoted 11 lines · Waldemar Brodkorb

Fixes:
http://autobuild.buildroot.net/results/8c9/8c9a5fe52f762b4ff4444cf41efdf0d3cf203986/

---
 package/linux-pam/Config.in  | 1 +
 package/nodm/Config.in       | 1 +
 package/python-pam/Config.in | 1 +
 package/rsh-redone/Config.in | 2 ++
 package/util-linux/Config.in | 2 ++
 5 files changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com