All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR
@ 2015-11-26  7:50 rongqing.li
  2015-11-30  5:19 ` Bruce Ashfield
  2015-12-07 22:19 ` Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: rongqing.li @ 2015-11-26  7:50 UTC (permalink / raw)
  To: yocto

From: Roy Li <rongqing.li@windriver.com>

enable Tmpfs POSIX Access Control Lists and Tmpfs extended attributes
this will remove the error when systemd apply the ACL to tmpfs:

    systemd-udevd[335]: Failed to apply ACL on /dev/dri/card0: Operation not supported
    systemd-udevd[552]: Failed to apply ACL on /dev/adsp: Operation not supported

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 ktypes/base/base.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ktypes/base/base.cfg b/ktypes/base/base.cfg
index 3b8ccd2..28a0d83 100644
--- a/ktypes/base/base.cfg
+++ b/ktypes/base/base.cfg
@@ -933,6 +933,8 @@ CONFIG_PROC_FS=y
 CONFIG_PROC_KCORE=y
 CONFIG_SYSFS=y
 CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_TMPFS_XATTR=y
 # CONFIG_HUGETLB_PAGE is not set
 
 #
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR
  2015-11-26  7:50 [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR rongqing.li
@ 2015-11-30  5:19 ` Bruce Ashfield
  2015-12-07 22:19 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2015-11-30  5:19 UTC (permalink / raw)
  To: rongqing.li, yocto

On 2015-11-26 2:50 AM, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> enable Tmpfs POSIX Access Control Lists and Tmpfs extended attributes
> this will remove the error when systemd apply the ACL to tmpfs:
>
>      systemd-udevd[335]: Failed to apply ACL on /dev/dri/card0: Operation not supported
>      systemd-udevd[552]: Failed to apply ACL on /dev/adsp: Operation not supported

I didn't notice this change. It should go to the linux-yocto mailing
list, not to the main yocto list.

I'll review this on Monday.

Cheers,

Bruce

>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>   ktypes/base/base.cfg | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/ktypes/base/base.cfg b/ktypes/base/base.cfg
> index 3b8ccd2..28a0d83 100644
> --- a/ktypes/base/base.cfg
> +++ b/ktypes/base/base.cfg
> @@ -933,6 +933,8 @@ CONFIG_PROC_FS=y
>   CONFIG_PROC_KCORE=y
>   CONFIG_SYSFS=y
>   CONFIG_TMPFS=y
> +CONFIG_TMPFS_POSIX_ACL=y
> +CONFIG_TMPFS_XATTR=y
>   # CONFIG_HUGETLB_PAGE is not set
>
>   #
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR
  2015-11-26  7:50 [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR rongqing.li
  2015-11-30  5:19 ` Bruce Ashfield
@ 2015-12-07 22:19 ` Bruce Ashfield
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ashfield @ 2015-12-07 22:19 UTC (permalink / raw)
  To: rongqing.li, yocto

On 11/26/2015 02:50 AM, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> enable Tmpfs POSIX Access Control Lists and Tmpfs extended attributes
> this will remove the error when systemd apply the ACL to tmpfs:
>
>      systemd-udevd[335]: Failed to apply ACL on /dev/dri/card0: Operation not supported
>      systemd-udevd[552]: Failed to apply ACL on /dev/adsp: Operation not supported

Sorry for the long delay on this, I thought I had replied before .. but
then found this in my inbox.

If already replied, I hope I'm consistent here.

>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>   ktypes/base/base.cfg | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/ktypes/base/base.cfg b/ktypes/base/base.cfg
> index 3b8ccd2..28a0d83 100644
> --- a/ktypes/base/base.cfg
> +++ b/ktypes/base/base.cfg
> @@ -933,6 +933,8 @@ CONFIG_PROC_FS=y
>   CONFIG_PROC_KCORE=y
>   CONFIG_SYSFS=y
>   CONFIG_TMPFS=y
> +CONFIG_TMPFS_POSIX_ACL=y
> +CONFIG_TMPFS_XATTR=y

Looking at these more closely, I think they belong in the standard
and preempt-rt kernel types, versus base.cfg.

base is used by all kernel types, regardless of init system, or other
system capabilities. I know that tiny and other derivative kernels
may not want this, so it needs to be pulled one level higher.

Bruce

>   # CONFIG_HUGETLB_PAGE is not set
>
>   #
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-07 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-26  7:50 [PATCH][yocto-kernel-cache] base.cfg: enable TMPFS_POSIX_ACL and TMPFS_XATTR rongqing.li
2015-11-30  5:19 ` Bruce Ashfield
2015-12-07 22:19 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.