ObjFW  Check-in [632999a7ab]

Overview
Comment:ofhttp: Allow reading /etc/ssl from the sandbox
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 632999a7abeab8375073aef6dd10ad3a34d461c9da42e0c9d6972310bc7863d7
User & Date: js on 2018-12-28 14:58:50
Other Links: manifest | tags
Context
2019-01-03
19:05
OFDNSResolver: Call back from correct runLoopMode check-in: a74c5d6a2d user: js tags: trunk
2018-12-28
14:58
ofhttp: Allow reading /etc/ssl from the sandbox check-in: 632999a7ab user: js tags: trunk
2018-12-22
18:13
Make GCC happy check-in: 214e46a10f user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [5aba4f761b] to [f19ce10640].

473
474
475
476
477
478
479



480
481
482
483
484
485
486
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489







+
+
+







		}
	}

#ifdef OF_HAVE_SANDBOX
	[sandbox unveilPath: (outputPath != nil
				 ? outputPath : OF_PATH_CURRENT_DIRECTORY)
		permissions: @"wc"];
	/* In case we use ObjOpenSSL for https later */
	[sandbox unveilPath: @"/etc/ssl"
		permissions: @"r"];

	[sandbox setAllowsUnveil: false];
	[OFApplication activateSandbox: sandbox];
#endif

	_outputPath = [outputPath copy];
	_URLs = [[optionsParser remainingArguments] retain];