search for: tmpfd

Displaying 11 results from an estimated 11 matches for "tmpfd".

Did you mean: tmpfs
2005 Jul 06
0
[PATCH] Simplify Kerberos credentials cache code
...=============== RCS file: /cvs/openssh/auth-krb5.c,v retrieving revision 1.25 diff -u -r1.25 auth-krb5.c --- auth-krb5.c 11 Sep 2004 13:32:09 -0000 1.25 +++ auth-krb5.c 6 Jul 2005 10:31:51 -0000 @@ -67,9 +67,6 @@ #ifndef HEIMDAL krb5_creds creds; krb5_principal server; - char ccname[40]; - int tmpfd; - mode_t old_umask; #endif krb5_error_code problem; krb5_ccache ccache = NULL; @@ -146,28 +143,7 @@ goto out; } - snprintf(ccname,sizeof(ccname),"FILE:/tmp/krb5cc_%d_XXXXXX",geteuid()); - - old_umask = umask(0177); - tmpfd = mkstemp(ccname + strlen("FILE:")); - umas...
2002 Jun 25
2
Help wanted: configure test for busted mmap
Linux 2.2 (and probably others) have a deficient mmap which has caused a number of problems (e.g. bug #285). A workaround is in development, but it would be helpful to have a configure test to detect the bad mmaps(). Any takers? -d
2003 Aug 10
9
updated gssapi diff
this is the proposed gssapi diff against OpenSSH-current (non-portable). note: if this goes in, the old krb5 auth (ssh.com compatible) will be removed. please comment. jakob Index: auth.h =================================================================== RCS file: /home/hack/jakob/mycvs/sshgss/auth.h,v retrieving revision 1.1.1.2 retrieving revision 1.3 diff -u -r1.1.1.2 -r1.3 --- auth.h
2016 Mar 07
0
Re: [PATCH v2] Use less stack.
...; index 9f051aa..b8c0a91 100644 > --- a/fish/hexedit.c > +++ b/fish/hexedit.c > @@ -100,7 +100,8 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) > const char *editor; > int r; > struct stat oldstat, newstat; > - char buf[BUFSIZ]; > + CLEANUP_FREE char *tmpfd = NULL; > + CLEANUP_FREE char *editcmd = NULL; > > CLEANUP_FREE char *tmpdir = guestfs_get_tmpdir (g), *tmp = NULL; > if (asprintf (&tmp, "%s/guestfishXXXXXX", tmpdir) == -1) { > @@ -119,9 +120,12 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) >...
2013 Sep 30
1
[LLVMdev] RFC: llvm-shlib-test (Was: [llvm] r191029 - llvm-c: Make LLVMGetFirstTarget a proper prototype)
Attached is what I got thus far. What I'm struggling with is proper integration in build system. What is in there is just wild guesses from my side, both on autoconf and cmake variants. It would be great if someone with proper knowledge of the buildsystems could have a look. Also I'm not sure how to properly handle compilation on msvc - clearly "-std=c11 -Wstrict-prototypes" is
2017 Jun 01
3
libvirtd not accepting connections
Hi, Ever since I recently upgraded to Fedora 25, I can't get kvm working. It's worked on this system since initial fedora 20 install. All upgrades were done via yum, then once available, dnf. I do have libvirt-sock in LISTENING state: STREAM LISTENING /var/run/libvirt/libvirt-sock I noticed I also have multiple connections in CONNECTING state: STREAM CONNECTING 0
2017 Jun 02
0
Re: libvirtd not accepting connections
...c = 140520244259750, tv_nsec = >140520310044608}, __glibc_reserved = {140520244259750, 140520310041179, >140519321774320}} > string_io = <optimized out> > async_io = <optimized out> > str = 0x7fcd3bf17420 "\260t\361;\315\177" > tmpfd = <optimized out> > __FUNCTION__ = "virCommandRun" > __func__ = "virCommandRun" >#5 0x00007fcd404a27cf in virQEMUCapsInitQMP (qmperr=0x7fcd3bf174a0, >runGid=107, runUid=107, libDir=<optimized out>, qemuCaps=0x7fcd340fd3e0) >at qemu/qem...
2016 Mar 07
2
[PATCH v2] Use less stack.
...f --git a/fish/hexedit.c b/fish/hexedit.c index 9f051aa..b8c0a91 100644 --- a/fish/hexedit.c +++ b/fish/hexedit.c @@ -100,7 +100,8 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) const char *editor; int r; struct stat oldstat, newstat; - char buf[BUFSIZ]; + CLEANUP_FREE char *tmpfd = NULL; + CLEANUP_FREE char *editcmd = NULL; CLEANUP_FREE char *tmpdir = guestfs_get_tmpdir (g), *tmp = NULL; if (asprintf (&tmp, "%s/guestfishXXXXXX", tmpdir) == -1) { @@ -119,9 +120,12 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) if (editor == NULL) e...
2014 Jul 15
3
GSSAPI
If I am trying to build OpenSSH 6.6 with Kerberos GSSAPI support, do I still need to get Simon Wilkinson's patches? --- Scott Neugroschl | XYPRO Technology Corporation 4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.
2017 Jun 02
2
Re: libvirtd not accepting connections
...ec = >> 140520310044608}, __glibc_reserved = {140520244259750, 140520310041179, >> 140519321774320}} >> string_io = <optimized out> >> async_io = <optimized out> >> str = 0x7fcd3bf17420 "\260t\361;\315\177" >> tmpfd = <optimized out> >> __FUNCTION__ = "virCommandRun" >> __func__ = "virCommandRun" >> #5 0x00007fcd404a27cf in virQEMUCapsInitQMP (qmperr=0x7fcd3bf174a0, >> runGid=107, runUid=107, libDir=<optimized out>, qemuCaps=0x7fcd340fd3e...