Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take this commits in mainstream pls #1

Merged
merged 8 commits into from
Nov 30, 2011
Merged

Commits on Nov 30, 2011

  1. Skip a standard destriptor only if it's tty (v2)

    ZDTM tests redirect standart descriptors to /dev/null
    
    v2: * Skip tty only if it's a standard descriptor.
        * No strcmps on names.
    
    Acked-by: Pavel Emelyanov <xemul@parallels.com>
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    8212435 View commit details
    Browse the repository at this point in the history
  2. Generalization execution of parasite code.

    It will be used for dumping sigactions too.
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    11329e4 View commit details
    Browse the repository at this point in the history
  3. Dump and restore sigactions (v2)

    A parasite code dumps all sigactions in sigact.pid.
    
    v2: remove hard code for sizeof(sigset_t)
    
    Acked-by: Pavel Emelyanov <xemul@parallels.com>
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    a37c79c View commit details
    Browse the repository at this point in the history
  4. Dump SigBlk instead of SigCgt

    It's because this mask will be restored as rt_sigframe->uc.uc_sigmask.
    uc_sigmask will be set as current->blocked in sigreturn, so we should
    dump SigBlk in this case.
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    ccaf6a2 View commit details
    Browse the repository at this point in the history
  5. Dump memory character devices as a file.

    It's work for /dev/zero, /dev/null and other simple devices.
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    4a2ba76 View commit details
    Browse the repository at this point in the history
  6. Restore pipe flags

    pipe_loop00 passed with this patch.
    
    When we restore a regular fd (not pipe) we do use flags
    directly in open() call.
    
    Acked-by: Pavel Emelyanov <xemul@parallels.com>
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    dbfa112 View commit details
    Browse the repository at this point in the history
  7. Dump direcory descriptor as a file descriptor

    If I understand correct, they don't differ in linux.
    avagin committed Nov 30, 2011
    Configuration menu
    Copy the full SHA
    95e3f95 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b2562ce View commit details
    Browse the repository at this point in the history