forked from ueno/gnulib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mountlist: remove dependency on libmount
* lib/mountlist.c (read_file_system_list): Parse /proc/self/mountinfo directly, rather than depending on libmount, which has many dependencies due to its dependence on libselinux, as detailed at: http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00063.html Note we restrict this to __linux__ as that's probably where this interface will remain. If ever porting, it would be best to first pull the makedev() wrapper from coreutils to a gnulib module. Note also we don't add a getline dependency to the mountlist module, as all Linux versions are sufficient.
- Loading branch information
Showing
4 changed files
with
115 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
2015-04-02 Pádraig Brady <[email protected]> | ||
|
||
mountlist: remove dependency on libmount | ||
* lib/mountlist.c (read_file_system_list): Parse /proc/self/mountinfo | ||
directly, rather than depending on libmount, which has many | ||
dependencies due to its dependence on libselinux, as detailed at: | ||
http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00063.html | ||
Note we restrict this to __linux__ as that's probably where this | ||
interface will remain. If ever porting, it would be best | ||
to first pull the makedev() wrapper from coreutils to a gnulib module. | ||
Note also we don't add a getline dependency to the mountlist module, | ||
as all Linux versions are sufficient. | ||
|
||
2015-04-02 Paul Eggert <[email protected]> | ||
|
||
stddef: port to pre-C11 GCC on x86 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters