search for: rwflag

Displaying 10 results from an estimated 10 matches for "rwflag".

Did you mean: rw_flag
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
...main(int argc, char *argv[]) } } while (1); + if (optind == argc) + print_mount(type); + /* * If remount, bind or move was specified, then we don't * have a "type" as such. Use the dummy "none" type. @@ -143,9 +148,6 @@ int main(int argc, char *argv[]) if (rwflag & MS_TYPE) type = "none"; - if (optind == argc) - print_mount(); - if (optind + 2 != argc || type == NULL) usage(); commit 4fb0643145f08b1ad54f1ad3ff832e519de477bc Author: maximilian attems <max at stro.at> Date: Fri Sep 5 22:02:21 2008 +0200 [klibc] mount:...
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...main(int argc, char *argv[]) } } while (1); + if (optind == argc) + print_mount(type); + /* * If remount, bind or move was specified, then we don't * have a "type" as such. Use the dummy "none" type. @@ -143,9 +148,6 @@ int main(int argc, char *argv[]) if (rwflag & MS_TYPE) type = "none"; - if (optind == argc) - print_mount(); - if (optind + 2 != argc || type == NULL) usage(); commit f33a64fe457ccfe74f5d993d025a71ebf7a417c4 Author: maximilian attems <max at stro.at> Date: Fri Sep 5 22:02:21 2008 +0200 [klibc] mount:...
2016 Jan 06
0
[klibc:master] mount: Implement -o defaults
...usr/utils/mount_opts.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/usr/utils/mount_opts.c b/usr/utils/mount_opts.c index 05d1729..bb26c7d 100644 --- a/usr/utils/mount_opts.c +++ b/usr/utils/mount_opts.c @@ -89,8 +89,13 @@ parse_mount_options(char *arg, unsigned long rwflag, struct extra_opts *extra) break; } - if (res != 0 && s[0]) - add_extra_option(extra, opt); + if (res != 0 && s[0]) { + if (!strcmp(opt, "defaults")) + rwflag &= ~(MS_RDONLY|MS_NOSUID|MS_NODEV| + MS_NOEXEC|MS_SYNCHRONOUS); + else + add_e...
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
2008 Mar 25
2
bunch of small fixes
...o put ntfs-3g in the initramfs. Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/utils/mount_main.c b/usr/utils/mount_main.c index fd62000..2fea3e3 100644 --- a/usr/utils/mount_main.c +++ b/usr/utils/mount_main.c @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) rwflag = MS_VERBOSE; do { - c = getopt(argc, argv, "no:rt:w"); + c = getopt(argc, argv, "no:rt:wfi"); if (c == EOF) break; switch (c) { @@ -83,6 +83,12 @@ int main(int argc, char *argv[]) case 'w': rwflag &= ~MS_RDONLY; break; + case 'f':...
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
...s nothing special to be done. Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/utils/mount_main.c b/usr/utils/mount_main.c index e8e22cd..fd62000 100644 --- a/usr/utils/mount_main.c +++ b/usr/utils/mount_main.c @@ -64,10 +64,13 @@ int main(int argc, char *argv[]) rwflag = MS_VERBOSE; do { - c = getopt(argc, argv, "o:rt:w"); + c = getopt(argc, argv, "no:rt:w"); if (c == EOF) break; switch (c) { + case 'n': + /* no mtab writing */ + break; case 'o': rwflag = parse_mount_options(optarg, rwflag, &extr...
2008 Jun 16
0
latest fixes
...long list of fs types or running "fstype". Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/utils/mount_main.c b/usr/utils/mount_main.c index cf5db69..b5993cc 100644 --- a/usr/utils/mount_main.c +++ b/usr/utils/mount_main.c @@ -42,8 +42,10 @@ retry: rwflag |= MS_RDONLY; goto retry; } - break; + } else { + error = 0; } + break; } if (error) { commit 8ab60fca13b186a6c14cbd7fe6f63f5c5e6a773a Author: Arthur Loiret <arthur.loiret at u-psud.fr> Date: Sun Jun 15 12:24:06 2008 +0200 Makefile (ARCH): Support sh4 as sh....
2020 Apr 25
2
[PATCH 1/3] Add private key protection information extraction to ssh-keygen
...decoded)) != 0 || ??? ???? (r = private2_decrypt(decoded, passphrase, -?? ???? &decrypted, &pubkey)) != 0) +?? ???? &decrypted, &pubkey, vault_infop)) != 0) ??? ??? ?goto out; ? ??? ?if (type != KEY_UNSPEC && @@ -4521,15 +4587,18 @@ pem_passphrase_cb(char *buf, int size, int rwflag, void *u) ? ?static int ?sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type, -??? const char *passphrase, struct sshkey **keyp) +??? const char *passphrase, struct sshkey **keyp, struct sshkey_vault **vault_infop) ?{ ??? ?EVP_PKEY *pk = NULL; ??? ?struct sshkey *prv = NULL; +?? ?struct...
2020 Jun 09
3
[PATCH v2 0/2] Add openssl engine keys with provider upgrade path
I've architected this in a way that looks future proof at least to the openssl provider transition. What will happen in openssl 3.0.0 is that providers become active and will accept keys via URI. The current file mechanisms will still be available but internally it will become a file URI. To support the provider interface, openssl will have to accept keys by URI instead of file and may
2007 Dec 14
21
Some silly benchs (was: 1.9)
Guys, Just for fun, I tried to see (I know, a silly way to test it) how much overhead we have calling the C functions of the extensions. the benchmark script and the results: http://pastie.caboo.se/128646 The naive C extension: http://pastie.caboo.se/128647 I compared 1.8.6 (VC6 and mingw builds) against a fresh checkout of ruby trunk. What I understand from that is 1.9 is slower than 1.8