similar to: [klibc:master] readlink: Add -f option

Displaying 20 results from an estimated 2000 matches similar to: "[klibc:master] readlink: Add -f option"

2014 Sep 27
1
[PATCH 2/2] readlink: Add -f option
This is needed to support mounting non-root filesystems in initramfs-tools. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- initramfs-tools 0.117 only works with busybox; this should allow it to work with klibc again. Ben. --- a/usr/utils/readlink.c +++ b/usr/utils/readlink.c @@ -7,24 +7,45 @@ const char *progname; static __noreturn usage(void) { - fprintf(stderr,
2014 Apr 15
0
[klibc:master] readlink: Handle multiple input arguments
Commit-ID: 1ba3e80738407d13bc4a71812578848b6f657e23 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=1ba3e80738407d13bc4a71812578848b6f657e23 Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Tue, 15 Apr 2014 09:34:45 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Tue, 15 Apr 2014 09:34:45 -0700 readlink: Handle multiple input
2014 Apr 15
0
[klibc:master] readlink: Better buffer handling
Commit-ID: 4a66f39cb53fde78c4518615382be83a9e2bff0b Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4a66f39cb53fde78c4518615382be83a9e2bff0b Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Tue, 15 Apr 2014 09:27:38 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Tue, 15 Apr 2014 09:27:38 -0700 readlink: Better buffer handling
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
initramfs-tools version 0.117 requires 'readlink -f' and 'mount -o defaults' to work. The first two patches were previously submitted but not applied. Ben. Ben Hutchings (3): Implement realpath() readlink: Add -f option mount: Implement -o defaults usr/include/stdlib.h | 2 ++ usr/klibc/Kbuild | 2 +- usr/klibc/realpath.c | 49
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa, please pull for the latest git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks with the following shortlog: maximilian attems (9): mount: add nodev, noexec and nosuid options mount: add -n option cpio: small cleanups readlink: s/link/link_name/ kinit, mknod: s/(major|minor)/\1_num/ klibc: strcspn, strpbrk, strspn include string.h
2014 Apr 15
1
[PATCH] Null terminate before printing the link name.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This fixes garbage I'm seeing consistently from readlink /dev/disk/by-uuid/..... during boot. Signed-off-by: Rafi Rubin <rafi at seas.upenn.edu> - --- usr/utils/readlink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/utils/readlink.c b/usr/utils/readlink.c index 5ea4e41..75a0735 100644 - ---
2019 Jan 18
0
[klibc:master] remove unused variables
Commit-ID: f00d99cb73813d94730900e46752612a9ce4fadb Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f00d99cb73813d94730900e46752612a9ce4fadb Author: Greg Thelen <gthelen at google.com> AuthorDate: Sun, 25 Feb 2018 23:16:33 -0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Wed, 2 Jan 2019 03:08:04 +0000 [klibc] remove unused variables Fix
2014 Apr 15
0
[klibc:master] readlink: Reduce size by calling _fwrite() instead of puts()
Commit-ID: 06e395cd75dc79289ae789c146795189c32babd8 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=06e395cd75dc79289ae789c146795189c32babd8 Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Tue, 15 Apr 2014 13:23:49 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Tue, 15 Apr 2014 13:23:49 -0700 readlink: Reduce size by calling
2006 Aug 24
0
[patch] mkdir use and add usage
please pull git://charm.itp.tuwien.ac.at/mattems/klibc/.git maks commit b0c5c2b8ee60d91cb96541339c6be8108d0e2131 Author: maximilian attems <maks at sternwelten.at> Date: Thu Aug 24 22:40:23 2006 +0200 [klibc] mkdir add usage when printing errors about cli switches, point out the expected usage. patches adds usage function and calls to it. Signed-off-by: maximilian
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
hello hpa, please review and on ack merge belows patchset. thanks maks git pull git://git.debian.org/~maks/klibc.git maks for the changes: maximilian attems (8): [klibc] Add initial mntent.h with setmntent() and endmntent() [klibc] add getmntent() [klibc] mount: add help arg for usage() [klibc] mount: list
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
[ gsi.de pretends this is massmailing so removed from CC's ] hello hpa, please review and on ack merge belows patchset. changes from v1, thanks to review by kzak: * add strtok_r() * use it in getmntent_r() * getment_r() parses mnt_freq and mnt_passno too isn't that hard. thanks maks git pull git://git.debian.org/~maks/klibc.git maks for the changes: maximilian attems (9):
2007 Feb 18
0
[PATCH] umount: Add -l option for lazy unmount
Signed-off-by: Sergey Vlasov <vsu at altlinux.ru> --- Alternatively, you may pull from the following git repo and branch: git://git.altlinux.org/people/vsu/packages/klibc.git alt-umount (branch based on the klibc-1.4.32 release - sorry, forgot to send this patch earlier) usr/utils/umount.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git
2004 Sep 05
1
[PATCH] simple rm command
'rm -rf /' for klibc Doesnt comply to the standard, but does the job. http://www.opengroup.org/onlinepubs/009695399/utilities/rm.html diff -p -purN klibc-0.172/utils/Makefile klibc-0.172.rm/utils/Makefile --- klibc-0.172/utils/Makefile 2004-08-14 00:24:20.000000000 +0200 +++ klibc-0.172.rm/utils/Makefile 2004-09-05 20:11:14.109062216 +0200 @@ -6,7 +6,7 @@ MAKEDEPS = -Wp,-MD,.$(subst
2020 Jun 18
1
[PATCH] Kbuild for klibc and nfsmount: fix multiple definitions
-fcommon is not default anymore, with GCC 10 you get the following failure without it: KLIBCLD usr/klibc/libc.so ppc-linux-ld: usr/klibc/globals.o:/root/packages/klibc-2.0.7/usr/klibc/../include/unistd.h:15: multiple definition of `environ'; usr/klibc/__shared_init.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/libc_init.c:42: first defined here ppc-linux-ld:
2009 May 28
1
[PATCH] klibc-utils: add minils
Simple utility to list information about a files. The utility which does the same thing as "ls -la". This is a useful test program. Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com> --- usr/utils/Kbuild | 4 +- usr/utils/minils.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 201 insertions(+), 1 deletions(-) create mode 100644
2003 Apr 29
0
[PATCH] ipconfig: fix memory leak, and exit if no interfaces to configure
Very small patch. main.c | 30 +++++++++++++++++++++++++----- 1 files changed, 25 insertions(+), 5 deletions(-) diff -Nru a/ipconfig/main.c b/ipconfig/main.c --- a/ipconfig/main.c Tue Apr 29 13:22:55 2003 +++ b/ipconfig/main.c Tue Apr 29 13:22:55 2003 @@ -391,10 +391,10 @@ dev->name = devname; if (netdev_init_if(dev) == -1) - return; + goto bail; if (bootp_init_if(dev) == -1) -
2004 Oct 19
1
include insmod in klibc?
Hello, I feel that the klibc package should include an insmod that can be used on an initramfs. While it is possible to use an insmod built statically against glibc, such a binary is (comparatively) huge at 565K. The attached insmod.c is essentially the insmod.c from module-init-tools minus a couple of lines related to calling the old (2.4) version of insmod for backward compat. BTW: Insmod
2008 Mar 25
2
bunch of small fixes
hello hpa, nothing particular stands out, just syncing with latest Debian upload and subsequent patch emails. please review merge or nack. thanks :) maks git pull git://git.debian.org/~maks/klibc.git maks for the changes: Aaron Griffin (1): [klibc] kinit: skip md assembly if mdX exists Colin Watson (1): [klibc] mount/umount FUSE support Harald Jenny (1): [klibc] fstype:
2007 Sep 22
3
[git patch] module-init-tools fixes
hello hpa, quite easy to get m-i-t build against klibc, so i propose to kill the old local insmod copy. sent the only local m-i-t fix upstream, please pull: git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks maximilian attems (3): [klibc] klibc/socketcalls/.gitignore addition [klibc] elf.h add support for st_info field [klibc] remove local insmod.c copy and diffstat
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
Simple utility to list information about a files. The utility which does the same thing as "ls -la". This is a useful test program. Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com> --- usr/utils/Kbuild | 4 +- usr/utils/ls.c | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+), 1 deletions(-) create mode 100644