commit | 8f007923dd4ff89652479587d96e22bc63dbf822 | [log] [tgz] |
---|---|---|
author | Chad Sellers <csellers@tresys.com> | Wed Jun 02 14:39:36 2010 -0400 |
committer | Chad Sellers <csellers@tresys.com> | Wed Jun 02 14:47:45 2010 -0400 |
tree | ca636825569a371d249c62af8b7c783453997110 | |
parent | edf1df5429e0b819ee8fdd9f73ec95190fcae379 [diff] |
[PATCH] Remove duplicate slashes in paths in selabel_lookup This patch simply removes duplicate slashes (meaning "//") from pathnames passed into selabel_lookup. It does not do a full realpath() calculation (e.g. following symlinks, etc.), as the client should really do that before calling into libselinux. Signed-off-by: Chad Sellers <csellers@tresys.com>