ObjFW  Check-in [a93dc48427]

Overview
Comment:ofhttp: Allow sandbox to read continued files
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a93dc48427fad0f1bf79e0bd7fd7c2858f2a1523df01da166121b5d53ed94514
User & Date: js on 2019-08-22 19:01:57
Other Links: manifest | tags
Context
2019-08-31
12:40
OFKernelEventObserver: Support for Exec Signals check-in: e9eb87694a user: js tags: trunk
2019-08-22
19:01
ofhttp: Allow sandbox to read continued files check-in: a93dc48427 user: js tags: trunk
18:47
.travis.yml: Remove to-be-decommissioned precise check-in: f17355cc63 user: js tags: trunk
Changes

Modified utils/ofhttp/OFHTTP.m from [5a1e81f84f] to [6d1ae6e71c].

503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
			break;
		}
	}

#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.allowsUnveil = false;
	[OFApplication activateSandbox: sandbox];
#endif







|







503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
			break;
		}
	}

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

	sandbox.allowsUnveil = false;
	[OFApplication activateSandbox: sandbox];
#endif