aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/acl.xml
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2014-04-22 14:32:28 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2014-04-22 14:32:28 +0000
commit5af3f9e783b61468cc9d281c866a5c5fb58db334 (patch)
tree97e01940fa517bad3cd86842089b8a68c925d7a6 /chapter06/acl.xml
parentbf58c1eecd0d36db9fd10fa7ff5ede75cf39ed2b (diff)
Fix a segfault in Acl package.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10543 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/acl.xml')
-rw-r--r--chapter06/acl.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/acl.xml b/chapter06/acl.xml
index 785963da4..238ca6f39 100644
--- a/chapter06/acl.xml
+++ b/chapter06/acl.xml
@@ -51,6 +51,13 @@
<screen><userinput remap="pre">sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen>
+ <para>Additionally, fix a bug that causes <command>getfacl -e</command>
+ to segfault on overly long group name:</para>
+
+<screen><userinput remap="pre">sed -i -e "s|: TABS-1;|&amp;\n\n\t\t\tif (x > (TABS-1))\n\t\t\t\tx = (TABS-1);\n|" \
+ libacl/__acl_to_any_text.c</userinput></screen>
+
+
<para>Prepare Acl for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \