search for: oset

Displaying 17 results from an estimated 17 matches for "oset".

Did you mean: oses
2016 Feb 16
2
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control sequence. Maros Zatko (1): fish: reset the console on ^Z RHBZ#1213844 fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) -- 2.5.0
2009 Mar 24
0
Issue with child process exits
...ld_handler); #endif notify_parent(); errno = save_errno; } As far as I can tell the primary purpose of this method is to set a value for child_terminated which is referenced by the following method: static void collect_children(void) { #ifndef HAVE_NETWARE pid_t pid; sigset_t oset, nset; int status; /* block SIGCHLD while we check for dead children */ sigemptyset(&nset); sigaddset(&nset, SIGCHLD); sigprocmask(SIG_BLOCK, &nset, &oset); if (child_terminated) { while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || (pid < 0 && errno == EI...
2005 Jan 19
1
sshd hangs
...24453: sigprocmask(SIG_BLOCK, 0xFFBEEFE8, 0xFFBEEFF8) = 0 24453: sigprocmask(SIG_SETMASK, 0xFFBEEFF8, 0x00000000) = 0 24453: poll(0xFFBEEF28, 2, -1) (sleeping...) it seems there is another problem here with collect_children() not handling ECHILD: { pid_t pid; sigset_t oset, nset; int status; /* block SIGCHLD while we check for dead children */ sigemptyset(&nset); sigaddset(&nset, SIGCHLD); sigprocmask(SIG_BLOCK, &nset, &oset); if (child_terminated) { while ((pid = waitpid(-1, &sta...
2005 Jan 24
0
AW: sshd hangs
...ld [%i1], %o2 0x1f274: add %o0, 1, %o0 0x1f278: call +0x439b8 <PLT=libc.so.1`select> 0x1f27c: clr %o3 c code (patched): static void collect_children(void) { pid_t pid; sigset_t oset, nset; int status; /* block SIGCHLD while we check for dead children */ sigemptyset(&nset); sigaddset(&nset, SIGCHLD); sigprocmask(SIG_BLOCK, &nset, &oset); if (child_terminated) { while ((pid = waitpid(-1, &status...
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
...4 - m4/getprogname.m4 | 13 +++ modules/acl-tests | 1 - modules/argmatch-tests | 1 - modules/argp-tests | 1 - modules/argp-version-etc-tests | 1 - modules/array-list-tests | 1 - modules/array-oset-tests | 1 - modules/avltree-list-tests | 1 - modules/avltree-oset-tests | 1 - modules/avltreehash-list-tests | 1 - modules/c-stack | 1 + modules/carray-list-tests | 1 - modules/copy-file-tests | 1...
2001 Oct 10
7
OpenSSH solaris: bad return code after exec of remote command
Hi OpenSSH developers, I am using openSSH (now 2.9.9p2, but prob occurs in 2.9p2 also) to execute commands on a remote machine which outputs data to stdout then pipes it to another invocation of ssh which connects back to the first machine in the same way, where it starts a program to read and store the output from the command on the second machine. I am using the "command" option in
2016 Feb 16
0
[PATCH] fish: reset the console on ^Z RHBZ#1213844
...+/* + * Set the TSTP handler. + */ +static void +set_stophandler (void) +{ + otstpfn = signal (SIGTSTP, user_control_z); +} + +/* + * Restore the TSTP handler. + */ +static void +restore_stophandler (void) +{ + signal (SIGTSTP, otstpfn); +} + +static void +user_control_z (int sig) +{ + sigset_t oset, set; + +#ifdef HAVE_LIBREADLINE + /* Cleanup readline, unhook from terminal */ + rl_free_line_state (); + rl_cleanup_after_signal (); +#endif + + /* Reset terminal color */ +#define RESETCOLOR "\033[0m" + printf (RESETCOLOR); + fflush (stdout); + + /* Unblock SIGTSTP. */ + sigemp...
2013 Aug 22
2
Modules in gnulib that are GPL and are used in libguestfs
2013 Aug 22
0
Re: Modules in gnulib that are GPL and are used in libguestfs
How did you construct this list? It appears to list modules which are not used by libguestfs directly or indirectly, eg (picked at random): > avltreehash-list:31:GPL > avltree-list:24:GPL > avltree-oset:21:GPL Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
2001 Jun 28
1
`_POSIX_VDISABLE' undeclared
Dear developpers, I'm using OpenSSH_2.9p1 with prngd on my Sony NEWS-OS 4.2.1R. NEWS-OS 4.x is based on 4.3BSD and lack of many POSIX and ANSI features. Today I tried to make the latest openssh_cvs and got the following error, gcc -g -O2 -Wall -O -I. -I.. -I. -I./.. -I/usr/local/ssl/include -DHAVE_CONFIG_H -c readpassphrase.c readpassphrase.c: In function `readpassphrase':
2013 Aug 22
2
Re: Modules in gnulib that are GPL and are used in libguestfs
...11:05 AM, Richard W.M. Jones <rjones@redhat.com>wrote: > How did you construct this list? It appears to list modules which are > not used by libguestfs directly or indirectly, eg (picked at random): > > > avltreehash-list:31:GPL > > avltree-list:24:GPL > > avltree-oset:21:GPL > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > libguestfs lets you edit virtual machines. Supports shell scripting, > bindings from many languages. http://libguestfs.org >
2001 Oct 18
0
Patch for hanging ssh-add under Solaris CDE
...p;term); + (void)tcsetattr(input, TCSANOW, &term); } } @@ -141,7 +135,7 @@ if (status != _POSIX_VDISABLE) term.c_cc[VSTATUS] = status; #endif - (void)tcsetattr(input, _T_FLUSH, &term); + (void)tcsetattr(input, TCSANOW, &term); } (void)sigprocmask(SIG_SETMASK, &oset, NULL); if (input != STDIN_FILENO)
2010 Aug 13
15
NFS issue with ZFS
I have Solaris 10 U7 that is exporting ZFS filesytem. The client is Solaris 9 U7. I can mount the filesytem just fine but I am unable to write to it. showmount -e shows my mount is set for everyone. the dfstab file has option rw set. So what gives? Phillip -- This message posted from opensolaris.org
2015 Dec 02
3
[PATCH 0/3] [FOR COMMENTS ONLY] Rework inspection.
This is something I've been working on: Reworking inspection so it's not a big mess of ad hoc C code, but instead uses a well-defined domain-specific language to describe how we inspect guests. The best introduction to this is the manual page, which I include below (it's also included in patch 2/3). Rich. ---------------------------------------------------------------------- NAME
2016 Feb 23
4
[PATCH v3 0/4] [FOR COMMENTS ONLY] Rework inspection.
Previously posted: https://www.redhat.com/archives/libguestfs/2015-December/msg00038.html Inspection now really succeeds on a small number of simple guests. To test it out: $ ./run guestfish -v -x -a /tmp/centos-6.img ><fs> run ><fs> debug sh "guestfs-inspection --verbose" Rich.
2015 Dec 05
6
[PATCH 0/6 v2] [FOR COMMENTS ONLY] Rework inspection.
This is a more working version. Inspection (partially) succeeds on a real guest this time :-) You can test it out on a real guest (in this case, a CentOS disk image located at /tmp/centos-6.img) by doing: $ ./run guestfish -v -x -a /tmp/centos-6.img ><fs> run ><fs> debug sh "guestfs-inspection --verbose" which will print lots of debugging, and at the end the
2016 Jan 21
8
[PATCH v3 0/6] [FOR COMMENTS ONLY] Rework inspection.
For background on this change, see: https://rwmj.wordpress.com/2015/12/06/inspection-now-with-added-prolog/ v2 was previously posted here: https://www.redhat.com/archives/libguestfs/2015-December/msg00038.html To test this patch series on a real guest, you can do: $ ./run guestfish -v -x -a /var/tmp/centos-6.img ><fs> run ><fs> debug sh "guestfs-inspection