# HG changeset patch # User Jim Meyering # Date 1249680171 -7200 # Node ID d4b2d7a952277302977706ba08f81b2df92c9764 # Parent 3f075467f0f5706ef0e553a2c574e2c6bdb95c4b selinux-at: fix typo in a comment * lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment. Spotted by Paolo Bonzini. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2009-08-07 Jim Meyering + selinux-at: fix typo in a comment + * lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment. + Spotted by Paolo Bonzini. + selinux-at: remove redundant m4 code, add documentation * modules/selinux-at (configure.ac): Remove redundant code. LIB_SELINUX is already set via the dependent module, selinux-h. diff --git a/lib/selinux-at.h b/lib/selinux-at.h --- a/lib/selinux-at.h +++ b/lib/selinux-at.h @@ -19,7 +19,7 @@ /* These are the dir-fd-relative variants of the functions without the "at" suffix. For example, getfileconat (AT_FDCWD, file, &c) is usually - equivalent to getfileconat (file, &c). The emulation is accomplished + equivalent to getfilecon (file, &c). The emulation is accomplished by first attempting getfilecon ("/proc/self/fd/DIRFD/FILE", &c). Failing that, simulate it via save_cwd/fchdir/getfilecon/restore_cwd. If either the save_cwd or the restore_cwd fails (relatively unlikely),