Package: fakeroot Version: 1.20.2-1 Severity: normal Tags: patch Hello,
The program "evmctl" from the ima-evm-utils creates during "sign" operation quite large extended attributes. For example a sha256 "security.ima" attributes is 521 bytes long. This fails in a fakeroot environment, as the MAX_IPC_BUFFER_SIZE is limited to 256 bytes. regards, Marc -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-2-amd64 (SMP w/24 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages fakeroot depends on: ii libc6 2.19-22 ii libfakeroot 1.20.2-1 fakeroot recommends no packages. fakeroot suggests no packages. -- no debconf information
From: Marc Kleine-Budde <m...@pengutronix.de> Date: Thu, 28 May 2015 11:03:40 +0200 Subject: [PATCH] xattr: increase MAX_IPC_BUFFER_SIZE to 1024 The program "evmctl" from the ima-evm-utils creates during "sign" operation quite large extended attributes. For example a sha256 "security.ima" attributes is 521 bytes long. This patch increases the MAX_IPC_BUFFER_SIZE to 1024 to fix the problem. Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de> --- message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message.h b/message.h index 0b64fb98bf94..9dfce9446df1 100644 --- a/message.h +++ b/message.h @@ -64,7 +64,7 @@ struct fakestat { #pragma pack() #endif -#define MAX_IPC_BUFFER_SIZE 256 +#define MAX_IPC_BUFFER_SIZE 1024 #if __SUNPRO_C #pragma pack(4)