All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] select: tests offer choice of syscall path:
Date: Wed, 6 Mar 2019 15:54:09 +0100	[thread overview]
Message-ID: <20190306145409.GA12479@rei> (raw)
In-Reply-To: <20190305162410.127713-1-salyzyn@android.com>

Hi!
> Switch between libc library, __newselect syscall, select syscall or
> pselect6 syscall for selection of select() tests.  This provides
> filled in coverage of all the possible select alternatives.
> 
> CC flags can be one of:
> 
> -DSYSCALL_SELECT_LIBC        // use select() libc library function
> -DSYSCALL_SELECT__NEWSELECT  // use __NR__newselect system call
> -DSYSCALL_SELECT_SELECT      // use __NR_select system call
> -DSYSCALL_SELECT_PSELECT6    // use __NR_pselect6 system call worker
> <default>                    // chose a _defined_ system call

I was meanwhile thinking of how we should handle the libc/syscall
multiplexing and I would be probably in favor of doing it on runtime
since I do not see any reason why we should generate test binary for
each syscall variant.

Rather than that I'm looking into having a multiplexer callback from the
new test library that would allow running the test function in a loop
for each possible syscall variant.

I will send a RFC patch ideally today and add you into CC.

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2019-03-06 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-05 16:24 [LTP] [PATCH] select: tests offer choice of syscall path: Mark Salyzyn
2019-03-06 14:54 ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190306145409.GA12479@rei \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.