search for: exec'ing

Displaying 20 results from an estimated 53 matches for "exec'ing".

2011 Mar 11
1
setpgid() before exec'ing qemu
Hi I am writing a python test suite that uses oz (https://github.com/clalancette/oz) which uses libquestfs. I am simulating a small cloud and have some apps that need to talk to the guests. All works really well until I needed to start another process. So I start a process then "oz" starts up a VM (it uses libquestfs) then when "oz" cleans up it calls
2010 Aug 26
3
openssh - run as another user
...ny systems are configured so you cannot log directly as root via the initial authentication in openssh. What is usually done is that you log onto as your normal login and once you get a interactive shell you su to root to run the command that requires root. Does openssh have a more elegant way of exec'ing a command as root so I can run the command non-interactively? I know: Normal userid Normal userid password Root's password *************************************************************** This message is intended for the addressee named and may contain confidential information. If you...
2015 Dec 02
3
[PATCH] daemon: improve internal commandrvf
- add a flag to request chroot for the process, which is done only as very last (before chdir) operation before exec'ing the process in the child: this avoids using CHROOT_IN & CHROOT_OUT around command* invocations, and reduces the code spent in chroot mode - add failure checks for dup2 and open done in child, not proceeding to executing the process if they fail - open /dev/null without O_CLOEXEC,...
2006 Apr 10
1
Question on randomization
Hi , I am using OpenSSH4.3p2. One of the fixes in this release says that random seed generation is not necessary for each key generation and initial seed will be served for the re-exec'ed processess. As better random seed will yield better random number generation, how can we achieve true randomization by one time random seed ? Thanks, Ponraj M
2006 May 12
1
How to log pubkey used in a keyring
...;s format from one ssh implementation to the next varies, causes parsing complexities. Tried a kludge using the "command=/some/path/to/script <ID>" prefix on each key, where the script took the ID and logged it along with some of the other ssh variables. However that meant either exec'ing the command being sent from the remote system, or forcing the session into a specific shell. Is there any other way to determine what key is used? Thanks in advance, Walt Walter Doud UNIX System Administrator Information Technology Services Americas, Global Services, IBM
2011 Dec 15
3
Retrieving authorized_keys via remote script
Here's a simple patch which retrieves authorized_keys via exec'ing a program, rather than reading a flat file. I added a simple option, AuthorizedKeysExec, to sshd_config which simply executes the respective file, passing the username as argv[1]. Keys are returned via stdout. Notes: If AuthorizedKeysExec is set and an authorized_keys file exists, che...
2011 Jul 29
2
[LLVMdev] Accessing Dominator Tree
John, Thanks for the quick reply.  Using a PassManager object should work fine.  As you said, my only objection is to exec'ing opt.  I had actually tried instantiating a PassManager object before, but I was definitely not doing it right.  I will take a look at how clang and SAFECode use it, and see if I can get it working. Thanks, David ----- Original Message ----- From: "John Criswell"...
2015 Dec 02
0
Re: [PATCH] daemon: improve internal commandrvf
On Wed, Dec 02, 2015 at 02:00:57PM +0100, Pino Toscano wrote: > - add a flag to request chroot for the process, which is done only as > very last (before chdir) operation before exec'ing the process in the > child: this avoids using CHROOT_IN & CHROOT_OUT around command* > invocations, and reduces the code spent in chroot mode > - add failure checks for dup2 and open done in child, not proceeding to > executing the process if they fail > - open /dev...
2019 Jul 21
1
[Bug 1355] New: Error parsing JSON config via a pipe to subprocess's stdin
...ad.ashlock at gmail.com Created attachment 566 --> https://bugzilla.netfilter.org/attachment.cgi?id=566&action=edit C++ source file that demonstrates the problem nft versions tested: 0.5, 0.9.0, 0.9.1 Linux kernel versions: 4.15.0 (Ubuntu 16.04.1), 4.14.120 (custom distro)​ I'm fork-exec'ing "nft -f /dev/stdin", passing the configuration string via a pipe from the parent process. When the configuration string gets larger than 8192 characters, the parser appears to get corrupted at the 8 KiB boundry. (I've also seen it at the 16 KiB boundary, too.) This behavior...
2004 Aug 06
4
a few ices/icecast questions
hiya. i'm using ices 0.2.2 with icecast 1.3.10 and otto 1.0 (a web/db playlist mgmt tool). overall, i'm very pleased with the setup, but i'm having a few problems. 1) whenever otto plays a track (by exec'ing ices), that same track keeps playing over and over. i have to direct otto to kill the track (and the ices process) in order to get it to play the next track. i notice this comment in the source for ottojockeyd (the program that actually execs ices): # note: you may need to hack the ic...
2007 Apr 06
0
[LLVMdev] llc assertion failure
...llc version match the llvm-gcc or whatever frontend that produced "code.bc". This could simply be an IR version issue if you're working on CVS HEAD. If that's not it, then ... 2. This looks to be an llc problem not llvm-ld. All that is happening here is that llvm-ld is exec'ing llc on code.bc. Could you please run llc under the debugger and give it code.bc as input. When it fails, please get a stack trace and then create a PR for this problem. Thanks, Reid. > > Regards, > Ryan > > llc: > /home/lefever/work/llvm-cvs-070325/include/l...
2011 Jul 29
0
[LLVMdev] Accessing Dominator Tree
On 7/29/11 10:00 AM, david.dewey at comcast.net wrote: > > John, > > Thanks for the quick reply. Using a PassManager object should work > fine. As you said, my only objection is to exec'ing opt. > > I had actually tried instantiating a PassManager object before, but I > was definitely not doing it right. I will take a look at how clang > and SAFECode use it, and see if I can get it working. > The SAFECode sc tool is based on opt, so you can just see what opt...
2017 Jan 14
2
Controlling the name of the 'tap0' device, in a bridged networking setup
Hi, I'm trying to control the name of the 'tap0' device that gets created as I start a domain that uses bridged networking. The XML specification of the domain contains the following configuration <interface type='bridge'> <source bridge='br0'/> </interface> The libvirt documentation (
2017 Jan 20
2
Re: Controlling the name of the 'tap0' device, in a bridged networking setup
...that user's personal non-privileged > libvirtd (aka qemu:///session) rather than the system's privileged libvirtd > (qemu:///system). When using qemu:///session, libvirtd is unable to create > tap devices itself (because it doesn't have sufficient privilege for it), > so it executes qemu-bridge-helper (from the qemu package) requesting that a > tap device be created and attached to the bridge device specified on its > commandline. Unfortunately, qemu-bridge-helper doesn't provide any way to > specify the tap device name, so you get what it decides to give you...
2009 Aug 31
2
[LLVMdev] spec tests + PWD=
...36: /Volumes/Data/Users/sabre/llvm/projects/llvm-test/External/SPEC/ CINT2000/176.gcc/Output/bugpoint-train/PWD=/Volumes/Data/Users/sabre/ llvm/projects/llvm-test/External/SPEC/CINT2000/176.gcc: No such file or directory /Users/sabre/llvm/projects/llvm-test/External/SPEC/Sandbox.sh: line 36: exec: /Volumes/Data/Users/sabre/llvm/projects/llvm-test/External/ SPEC/CINT2000/176.gcc/Output/bugpoint-train/PWD=/Volumes/Data/Users/ sabre/llvm/projects/llvm-test/External/SPEC/CINT2000/176.gcc: cannot execute: No such file or directory I think this comes down to SPEC/Sandbox.sh turning around an...
2011 Jul 29
0
[LLVMdev] Accessing Dominator Tree
On 7/29/11 9:43 AM, david.dewey at comcast.net wrote: > > Hello, > > I am working on a project that requires me to perform some analysis on > a bitcode file outside the existing LLVM analysis frameworks (opt, > etc.). In what I am doing, I need to be able to access the dominator > tree for a given function. Is there a way I can instantiate a > DominatorTree object
2007 Apr 06
2
[LLVMdev] llc assertion failure
...vm-gcc or whatever frontend that > produced "code.bc". This could simply be an IR version issue if > you're working on CVS HEAD. If that's not it, then ... > > 2. This looks to be an llc problem not llvm-ld. All that is happening > here is that llvm-ld is exec'ing llc on code.bc. Could you please > run llc under the debugger and give it code.bc as input. When it > fails, please get a stack trace and then create a PR for this > problem. > > Thanks, > > Reid. > > >>Regards, >>Ryan >> >>llc...
2007 Apr 06
3
[LLVMdev] llc assertion failure
I am running the following llvm-ld command to produce native code: llvm-ld -native -o code.exe code.bc -lm However, I am getting the following assertion failure in llc. The bytecode has been processed with opt, it passes opt bytecode verification. I'm not too familiar with backend code generation. Does anyone have any insight in to what the problem might be or how to go about
2007 Jun 16
1
Re: [hylafax-users] Having problems running sendfax from a bash script.
...prudentrx.com -n -x "Test fax" -d 13105551212 /etc/hosts fax": Can not open file As you can see the sendfax command is not picking up the "'s around the "Test fax" string so it picks up the Test but thinks fax is the file to fax. If you take the string and execute it from the command line it works. There is something about executing it from a string within a script that causes it to fail. I tried doing the same thing using mail as the command with a quoted subject. Same thing happens, it break after the first space in the subject when executed fr...
2004 May 17
2
password aging question
...ve yes #UseLogin no #UsePrivilegeSeparation yes #PermitUserEnvironment no #Compression yes #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 # no default banner path Banner /etc/issue # override default of no subsystems Subsystem sftp /opt/ssh/libexec/sftp-server Brad Pendergast Systems Administration Business Technology Services Credit Union Services Corporation (Australia) Limited Telephone (02) 8299 9358 Facsimile (02) 8299 9638 E-mail: bpendergast at cuscal.com.au ________________________________________________________ NOTIC...