search for: init_signals

Displaying 6 results from an estimated 6 matches for "init_signals".

2001 Nov 07
1
patching 2.4.13
...ock_t alloc_lock; }; /* --- 399,407 ---- u32 self_exec_id; /* Protection of (de-)allocation: mm, files, fs, tty */ spinlock_t alloc_lock; + + /* journalling filesystem info */ + void *journal_info; }; /* *************** *** 485,491 **** sig: &init_signals, \ pending: { NULL, &tsk.pending.head, {{0}}}, \ blocked: {{0}}, \ - alloc_lock: SPIN_LOCK_UNLOCKED \ } --- 488,495 ---- s...
2019 Aug 01
13
[PATCH v2 00/11] VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK functionality has no tests. This patch series adds several test cases that exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept, half-closed connections, simultaneous connections). Stefan: Do you think we should have a single application or is better to split it in single tests (e.g.
2019 Dec 18
13
[PATCH net-next v3 00/11] VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK functionality has no tests. This patch series adds several test cases that exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept, half-closed connections, simultaneous connections). The v1 of this series was originally sent by Stefan. v3: - Patch 6: * check the byte received in the recv_byte() * use
2019 Aug 01
0
[PATCH v2 07/11] VSOCK: add AF_VSOCK test cases
...of the other side must be given with --peer-cid=<cid>.\n"); + exit(EXIT_FAILURE); +} + +int main(int argc, char **argv) +{ + const char *control_host = NULL; + const char *control_port = NULL; + struct test_opts opts = { + .mode = TEST_MODE_UNSET, + .peer_cid = VMADDR_CID_ANY, + }; + + init_signals(); + + for (;;) { + int opt = getopt_long(argc, argv, optstring, longopts, NULL); + + if (opt == -1) + break; + + switch (opt) { + case 'H': + control_host = optarg; + break; + case 'm': + if (strcmp(optarg, "client") == 0) + opts.mode = TEST_MODE_CLIENT; +...
2019 Oct 09
2
[PATCH v2 07/11] VSOCK: add AF_VSOCK test cases
...t main(int argc, char **argv) > +{ > + const char *control_host = NULL; > + const char *control_port = NULL; > + struct test_opts opts = { > + .mode = TEST_MODE_UNSET, > + .peer_cid = VMADDR_CID_ANY, > + }; > + > + init_signals(); > + > + for (;;) { > + int opt = getopt_long(argc, argv, optstring, longopts, NULL); > + > + if (opt == -1) > + break; > + > + switch (opt) { > + case 'H': > +...
2019 Oct 09
2
[PATCH v2 07/11] VSOCK: add AF_VSOCK test cases
...t main(int argc, char **argv) > +{ > + const char *control_host = NULL; > + const char *control_port = NULL; > + struct test_opts opts = { > + .mode = TEST_MODE_UNSET, > + .peer_cid = VMADDR_CID_ANY, > + }; > + > + init_signals(); > + > + for (;;) { > + int opt = getopt_long(argc, argv, optstring, longopts, NULL); > + > + if (opt == -1) > + break; > + > + switch (opt) { > + case 'H': > +...