Skip to content

core/pkg-infra: allow packages to provide permisions in a file

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3core: allow packages to declare a permission filefs/common.mk package/pkg-generic.mk+2 -01 reply
1/3core: allow packages to declare a permission file+0 -00 replies
2/3docs/manual: document FOO_PERMISSIONS_FILEdocs/manual/adding-packages-generic.txt+7 -10 replies
3/3package/busybox: gneerate permissions for enabeld appletspackage/busybox/busybox.mk+15 -01 reply
3/3package/busybox: gneerate permissions for enabeld applets+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] core/pkg-infra: allow packages to provide permisions in a file

Hello All!

This series is a quick proof-of-concpet to allow packages to provide a permission table in a file rather than in-line in the .mk fiile.

That permission file can be generated. It is usefull for the SELinux stuff and busybox, where individual applets should have a suid bit, but we only know what applets exist at configure time, not when parsing the .mk file.

This is RFC material, jsut for quick review of the concept, not the actual code. This is not meant to be applied now.

Regards,
Yann E. MORIN.

The following changes since commit aa9a838364c7d60fd32eb265a88dea17a2be8324

  zlib: use $(HOST_MAKE_ENV) when calling $(MAKE1) (2016-12-13 16:27:34 +0100)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to 6d7c0fcf8647fa6e554e32e0370baec848b9ddef

[RFC] package/busybox: gneerate permissions for enabeld applets (2016-12-13 22:34:36 +0100)

----------------------------------------------------------------
Yann E. MORIN (3):
core: allow packages to declare a permission file docs/manual: document FOO_PERMISSIONS_FILE
[RFC] package/busybox: gneerate permissions for enabeld applets

 docs/manual/adding-packages-generic.txt |  8 +++++++-
 fs/common.mk                            |  1 +
 package/busybox/busybox.mk              | 15 +++++++++++++++
 package/pkg-generic.mk                  |  1 +
 4 files changed, 24 insertions(+), 1 deletion(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'