[SRU xenial/kvm] UBUNTU: Config: Enable CONFIG_AUDITSYSCALL

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[SRU xenial/kvm] UBUNTU: Config: Enable CONFIG_AUDITSYSCALL

Thadeu Lima de Souza Cascardo-3
BugLink: https://bugs.launchpad.net/bugs/1770245

python os.getlogin() uses glibc getlogin(), which reads /proc/self/loginuid.

That file depends on CONFIG_AUDITSYSCALL. It has been there since early Linux
2.6. All our kernels should have it enabled.

Signed-off-by: Thadeu Lima de Souza Cascardo <[hidden email]>
---
 debian.kvm/config/config.common.ubuntu | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index b1dca3c2a3e5..a76e17812c1e 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -129,9 +129,11 @@ CONFIG_ATA_VERBOSE_ERROR=y
 # CONFIG_ATMEL_PIT is not set
 # CONFIG_ATOMIC64_SELFTEST is not set
 CONFIG_AUDIT=y
-# CONFIG_AUDITSYSCALL is not set
+CONFIG_AUDITSYSCALL=y
 CONFIG_AUDIT_ARCH=y
 # CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
+CONFIG_AUDIT_TREE=y
+CONFIG_AUDIT_WATCH=y
 CONFIG_AUFS_BDEV_LOOP=y
 # CONFIG_AUFS_BRANCH_MAX_1023 is not set
 CONFIG_AUFS_BRANCH_MAX_127=y
--
2.17.0


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [SRU xenial/kvm] UBUNTU: Config: Enable CONFIG_AUDITSYSCALL

Po-Hsu Lin (Sam)
Thanks for catching this.
Acked-by: Po-Hsu Lin <[hidden email]>

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [SRU xenial/kvm] UBUNTU: Config: Enable CONFIG_AUDITSYSCALL

Kleber Souza
In reply to this post by Thadeu Lima de Souza Cascardo-3
On 05/09/18 21:33, Thadeu Lima de Souza Cascardo wrote:
> BugLink: https://bugs.launchpad.net/bugs/1770245
>
> python os.getlogin() uses glibc getlogin(), which reads /proc/self/loginuid.
>
> That file depends on CONFIG_AUDITSYSCALL. It has been there since early Linux
> 2.6. All our kernels should have it enabled.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <[hidden email]>

Acked-by: Kleber Sacilotto de Souza <[hidden email]>

> ---
>  debian.kvm/config/config.common.ubuntu | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
> index b1dca3c2a3e5..a76e17812c1e 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -129,9 +129,11 @@ CONFIG_ATA_VERBOSE_ERROR=y
>  # CONFIG_ATMEL_PIT is not set
>  # CONFIG_ATOMIC64_SELFTEST is not set
>  CONFIG_AUDIT=y
> -# CONFIG_AUDITSYSCALL is not set
> +CONFIG_AUDITSYSCALL=y
>  CONFIG_AUDIT_ARCH=y
>  # CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
> +CONFIG_AUDIT_TREE=y
> +CONFIG_AUDIT_WATCH=y
>  CONFIG_AUFS_BDEV_LOOP=y
>  # CONFIG_AUFS_BRANCH_MAX_1023 is not set
>  CONFIG_AUFS_BRANCH_MAX_127=y
>

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

APPLIED: [SRU xenial/kvm] UBUNTU: Config: Enable CONFIG_AUDITSYSCALL

Kleber Souza
In reply to this post by Thadeu Lima de Souza Cascardo-3
On 05/09/18 21:33, Thadeu Lima de Souza Cascardo wrote:

> BugLink: https://bugs.launchpad.net/bugs/1770245
>
> python os.getlogin() uses glibc getlogin(), which reads /proc/self/loginuid.
>
> That file depends on CONFIG_AUDITSYSCALL. It has been there since early Linux
> 2.6. All our kernels should have it enabled.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <[hidden email]>
> ---
>  debian.kvm/config/config.common.ubuntu | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
> index b1dca3c2a3e5..a76e17812c1e 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -129,9 +129,11 @@ CONFIG_ATA_VERBOSE_ERROR=y
>  # CONFIG_ATMEL_PIT is not set
>  # CONFIG_ATOMIC64_SELFTEST is not set
>  CONFIG_AUDIT=y
> -# CONFIG_AUDITSYSCALL is not set
> +CONFIG_AUDITSYSCALL=y
>  CONFIG_AUDIT_ARCH=y
>  # CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
> +CONFIG_AUDIT_TREE=y
> +CONFIG_AUDIT_WATCH=y
>  CONFIG_AUFS_BDEV_LOOP=y
>  # CONFIG_AUFS_BRANCH_MAX_1023 is not set
>  CONFIG_AUFS_BRANCH_MAX_127=y
>

Applied to xenial/linux-kvm/master-next branch.

Thanks,
Kleber

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team