patr0nus
2510ffc665
src: tolerate EPERM returned from tcsetattr
...
macOS app sandbox makes tcsetattr return EPERM. The CHECK_EQ(0, err)
here would fail when a sandboxed Node.js process is exiting. This commit
fixes this issue.
* test: add test for running in macOS app sandbox
Bare-bone command-line executables cannot run directly in the app sandbox.
To test that Node.js is able to run in the sandbox (and to test the fix in
317621b4a1 ), this commit creates a typical
Cocoa app bundle, puts the node executable in it and calles Apple's codesign
command to enable sandbox.
* test: use process.execPath to get path of testing node
PR-URL: https://github.com/nodejs/node/pull/33944
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-06-30 09:34:32 -07:00
..
2020-06-30 09:33:44 -07:00
2018-09-09 17:48:56 -07:00
2017-03-10 11:23:48 -08:00
2016-08-29 18:53:29 -07:00
2020-05-16 12:18:07 -07:00
2020-06-30 09:33:47 -07:00
2017-09-07 15:18:32 -05:00
2019-10-16 22:01:19 -04:00
2017-09-07 15:18:32 -05:00
2020-06-30 09:34:17 -07:00
2017-07-24 16:56:31 +02:00
2017-03-10 11:23:48 -08:00
2015-03-25 22:12:18 +03:00
2017-03-10 11:23:48 -08:00
2019-07-05 22:39:22 -07:00
2020-06-30 09:34:32 -07:00
2018-03-11 02:56:56 +01:00
2017-03-10 11:23:48 -08:00
2017-01-02 18:28:18 -05:00
2017-09-19 15:42:16 -07:00
2017-03-10 11:23:48 -08:00
2020-06-30 09:33:43 -07:00
2020-01-22 22:10:05 -08:00
2019-03-27 17:11:53 +01:00
2019-07-26 15:13:53 -05:00
2017-08-13 01:03:30 -07:00
2014-12-11 10:18:00 +01:00
2020-03-09 13:23:16 +01:00
2017-11-21 11:38:12 -05:00
2019-11-24 11:48:28 +05:30
2019-03-27 15:52:11 -04:00
2019-01-10 08:59:57 -05:00
2019-01-10 08:59:57 -05:00
2017-03-11 22:08:18 +00:00
2019-04-29 07:28:27 +05:30
2020-06-30 09:33:48 -07:00
2020-02-09 13:36:39 +01:00
2020-01-03 01:44:54 +01:00
2020-01-23 05:22:36 -08:00
2019-06-13 23:01:42 -07:00
2020-05-16 11:45:50 -07:00
2017-04-20 13:18:42 +02:00
2015-12-22 13:29:28 -05:00
2015-08-04 11:56:18 -07:00
2017-03-10 11:23:48 -08:00
2018-11-07 18:43:41 -05:00
2018-11-27 19:14:54 -08:00
2018-07-16 11:30:55 +02:00
2018-07-16 11:30:55 +02:00
2019-04-28 15:36:28 +08:00
2016-03-29 21:39:26 +02:00
2018-11-06 10:59:18 -05:00
2017-03-10 11:23:48 -08:00
2018-11-01 19:41:33 -07:00
2018-04-20 11:13:24 -07:00
2020-03-24 11:21:00 -07:00
2019-07-15 20:46:56 -07:00
2019-07-15 20:46:56 -07:00
2017-11-11 10:48:45 +01:00
2017-01-10 16:57:48 -05:00
2016-04-14 10:53:07 -07:00
2016-02-05 15:40:56 -08:00
2016-01-18 10:57:45 -06:00
2016-08-17 18:27:22 -07:00
2015-07-03 16:32:29 +02:00
2016-08-04 11:44:40 -04:00
2019-01-10 09:00:17 -05:00
2016-05-26 00:49:34 +02:00
2016-05-26 00:49:34 +02:00
2020-01-12 07:10:33 -08:00
2017-02-24 02:43:25 +01:00
2019-11-30 18:17:56 +01:00
2017-06-09 13:57:24 -04:00
2017-03-10 11:23:48 -08:00
2017-11-09 12:57:16 +01:00
2020-05-04 14:24:03 +02:00
2017-03-10 11:23:48 -08:00
2019-03-27 15:52:11 -04:00
2015-12-16 10:08:43 -05:00
2019-10-11 12:33:40 -07:00
2018-02-16 18:32:59 +01:00
2017-05-19 15:22:44 -04:00
2017-05-19 15:22:44 -04:00
2016-07-27 13:56:55 +02:00
2016-07-27 13:56:55 +02:00
2019-05-28 23:42:33 +03:00
2017-03-10 11:23:48 -08:00
2015-10-17 11:53:45 -04:00
2019-01-17 16:14:41 -08:00
2020-03-16 00:23:53 +00:00
2019-08-20 09:49:48 -05:00
2016-07-20 13:01:42 -04:00
2018-09-21 19:20:26 -07:00
2019-06-06 18:44:21 -04:00
2018-01-16 23:44:27 +01:00
2019-11-19 13:43:59 +01:00
2018-01-11 16:49:38 +01:00
2018-04-04 17:31:45 -07:00
2018-09-22 15:53:20 +02:00
2017-06-30 19:21:23 +02:00
2017-06-30 19:21:23 +02:00
2016-02-25 15:06:41 -05:00
2016-02-25 15:06:41 -05:00
2016-04-29 00:45:49 +02:00
2019-11-30 18:06:39 +01:00
2017-11-13 08:26:38 +01:00
2018-11-28 11:14:37 -08:00
2017-01-02 18:28:18 -05:00
2017-01-02 18:28:18 -05:00
2017-03-10 11:23:48 -08:00
2018-04-28 18:17:28 +02:00
2016-03-21 23:20:43 -07:00
2019-01-05 21:36:47 +01:00
2016-03-21 23:20:43 -07:00
2019-07-31 13:33:46 -07:00
2019-04-17 19:46:00 +02:00
2017-11-11 10:58:09 +01:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2019-08-20 09:49:48 -05:00
2015-03-19 21:42:16 +11:00
2015-03-19 21:42:16 +11:00
2015-03-19 21:42:16 +11:00
2018-07-14 12:04:53 +02:00
2016-03-23 13:04:19 -04:00
2016-03-23 13:04:19 -04:00
2017-04-01 13:27:52 +02:00
2018-04-06 23:26:07 -07:00
2017-03-10 11:23:48 -08:00
2017-09-01 10:33:15 -04:00
2017-10-11 14:51:41 -04:00
2019-12-15 16:24:00 +01:00
2019-12-31 15:54:20 +01:00
2019-09-13 16:58:41 +02:00
2016-04-29 00:45:49 +02:00
2017-03-10 11:23:48 -08:00
2019-01-08 12:57:24 -06:00
2019-01-08 12:57:24 -06:00
2017-03-10 11:23:48 -08:00
2019-01-08 12:57:24 -06:00
2019-01-08 12:57:24 -06:00
2017-03-20 20:48:14 +01:00
2017-07-25 21:50:44 +03:00
2018-02-26 23:18:12 +00:00
2018-03-08 10:37:29 -06:00
2019-12-04 23:30:25 -05:00
2019-12-04 23:30:25 -05:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2017-03-10 11:23:48 -08:00
2015-09-06 21:38:07 +10:00
2015-09-06 21:38:08 +10:00
2015-12-05 11:15:49 -05:00
2017-03-10 11:23:48 -08:00
2019-07-30 14:02:19 -07:00
2017-06-06 23:33:56 -07:00
2017-07-12 12:12:48 +08:00
2017-02-28 18:39:20 -08:00
2017-02-28 18:39:20 -08:00
2019-06-01 10:01:15 -04:00
2019-05-26 13:04:29 -05:00
2016-03-24 13:19:11 -07:00
2020-02-13 21:32:01 +01:00
2019-01-30 18:14:38 +01:00
2019-08-20 09:49:48 -05:00
2018-06-06 19:44:15 +02:00