From b3eb9486f0525031c2beb6e214e61e455875240d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 7 Aug 2009 23:22:51 +0200 Subject: [PATCH] selinux-at: fix typo in a comment * lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment. Spotted by Paolo Bonzini. --- ChangeLog | 4 ++++ lib/selinux-at.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1b3af024c..d3df86cde 100644 --- 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 index cd7bf94b0..9716fe9e5 100644 --- 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), -- 2.11.0