gecko-dev/xpcom/base
Jed Davis 59573e5f85 Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).

This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.

Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
..
AvailableMemoryTracker.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
AvailableMemoryTracker.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
ClearOnShutdown.cpp Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
ClearOnShutdown.h Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj 2014-07-28 13:19:06 -04:00
CodeAddressService.h Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron. 2014-09-10 21:47:01 -07:00
CountingAllocatorBase.h Bug 1055280 - Move CountingAllocatorBase into its own header file. r=froydnj 2014-08-25 12:34:00 -07:00
CycleCollectedJSRuntime.cpp Bug 1091801 - fix inline assembly constraints; r=froydnj, a=Tomcat 2014-10-29 08:47:18 -04:00
CycleCollectedJSRuntime.h Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey 2014-10-28 12:08:19 +00:00
Debug.cpp Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Debug.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
ErrorList.h Bug 1086936 part 2 - Add a flag to nsIAppStartup::quit that restarts the browser without using the same profile and use it for the Aurora UI switch. r=bsmedberg 2014-10-27 21:46:56 +02:00
ErrorNames.cpp Backed out changeset 3333c226a1d8 (bug 792989) for wrong commit number 2014-10-30 14:39:15 +01:00
ErrorNames.h Backed out changeset 3333c226a1d8 (bug 792989) for wrong commit number 2014-10-30 14:39:15 +01:00
LinuxUtils.cpp Bug 1056962 - Part 1: Move GetThreadName to LinuxUtils. r=jld 2014-08-22 16:35:29 -07:00
LinuxUtils.h Bug 1056962 - Part 1: Move GetThreadName to LinuxUtils. r=jld 2014-08-22 16:35:29 -07:00
Makefile.in Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
moz.build Backed out changeset 3333c226a1d8 (bug 792989) for wrong commit number 2014-10-30 14:39:15 +01:00
nsAgg.h Bug 995730 - Change xpcom/base/ to use 2 space indentation 2014-05-05 20:30:39 +03:00
nsAllocator.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsAutoPtr.h Bug 1071100 - Moved nsRefPtr from nsAutoPtr.h to a new nsRefPtr.h r=froydnj 2014-09-26 10:53:47 -07:00
nsAutoRef.h Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
nsCom.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsConsoleMessage.cpp Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
nsConsoleMessage.h Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj 2014-07-28 13:19:06 -04:00
nsConsoleService.cpp Bug 1060171 - Part 3: Map log level to logcat level in ConsoleService. r=dhylands 2014-09-22 15:33:36 -07:00
nsConsoleService.h Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj 2014-08-25 12:17:24 -07:00
nscore.h Bug 965022 - Define MOZ_FORMAT_PRINTF(...) macro which expands to __attribute__(format(printf, ...)) where supported. r=froydnj 2014-08-25 16:00:29 -04:00
nsCrashOnException.cpp Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
nsCrashOnException.h Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
nsCycleCollector.cpp Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE 2014-11-05 15:20:25 +01:00
nsCycleCollector.h Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE 2014-11-05 15:20:25 +01:00
nsDebugImpl.cpp Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey 2014-09-30 00:00:00 +08:00
nsDebugImpl.h Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
nsDumpUtils.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
nsDumpUtils.h Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj 2014-07-28 13:19:06 -04:00
nsError.h Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb 2014-09-22 07:58:59 -07:00
nsErrorAssertsC.c
nsErrorService.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
nsErrorService.h Bug 972605, part 3 - Make nsErrorService use a modern hash table. r=froydnj 2014-05-09 13:47:37 -07:00
nsGZFileWriter.cpp Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 15:59:02 -07:00
nsGZFileWriter.h bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
nsIConsoleListener.idl
nsIConsoleMessage.idl Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj 2014-09-22 15:32:21 -07:00
nsIConsoleService.idl
nsICycleCollectorListener.idl Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent 2014-05-13 13:13:00 -04:00
nsIDebug2.idl
nsIDebug.idl
nsIErrorService.idl Bug 978486 - Remove nsErrorService::mErrorStringBundleKeyMap. r=froydnj 2014-03-04 09:49:40 -08:00
nsIException.idl Bug 1069490 - Part 2: Add columnNumber to nsIStackFrame and set in JSStackFrame. r=bz 2014-09-22 11:28:31 -07:00
nsIGZFileWriter.idl Bug 956961 - Open content processes' DMD log files in the parent process. r=njn 2014-07-02 15:59:02 -07:00
nsIID.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsIInterfaceRequestor.idl
nsIMacUtils.idl
nsIMemory.idl
nsIMemoryInfoDumper.idl Bug 1044709 - Improve the comment describing the memory report file format. r=mccr8. 2014-09-28 18:35:14 -07:00
nsIMemoryReporter.idl Bug 1055280 - Move CountingAllocatorBase into its own header file. r=froydnj 2014-08-25 12:34:00 -07:00
nsIMessageLoop.idl
nsIMutable.idl
nsInterfaceRequestorAgg.cpp Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
nsInterfaceRequestorAgg.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsIProgrammingLanguage.idl Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsIStatusReporter.idl Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
nsISupports.idl
nsISupportsBase.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsISupportsObsolete.h Bug 995730 - Change xpcom/base/ to use 2 space indentation 2014-05-05 20:30:39 +03:00
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIVisualEventTracer.idl
nsIWeakReference.idl Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
nsMacUtilsImpl.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
nsMacUtilsImpl.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsMemoryImpl.cpp Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
nsMemoryImpl.h bug 1059429 - fix static constructor for FlushEvent r=froydnj 2014-08-27 14:06:55 -04:00
nsMemoryInfoDumper.cpp Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8. 2014-09-02 20:34:58 -07:00
nsMemoryInfoDumper.h Bug 1061024 (part 2) - Some minor DMD clean-ups. r=jld. 2014-08-31 22:35:28 -07:00
nsMemoryReporterManager.cpp Bug 1061024 (part 2) - Some minor DMD clean-ups. r=jld. 2014-08-31 22:35:28 -07:00
nsMemoryReporterManager.h bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
nsMessageLoop.cpp Bug 1048239 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-08-05 09:36:32 -04:00
nsMessageLoop.h Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
nsObjCExceptions.h Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
nsRefPtr.h Bug 1071100 - Moved nsRefPtr from nsAutoPtr.h to a new nsRefPtr.h r=froydnj 2014-09-26 10:53:47 -07:00
nsrootidl.idl Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
nsSecurityConsoleMessage.cpp Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsSecurityConsoleMessage.h Bug 995730 - Change xpcom/base/ to use 2 space indentation 2014-05-05 20:30:39 +03:00
nsSetDllDirectory.h Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj 2014-08-25 12:17:24 -07:00
nsStackWalk.cpp Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron. 2014-09-10 21:47:01 -07:00
nsStackWalk.h Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron. 2014-09-10 21:47:01 -07:00
nsStackWalkPrivate.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsStatusReporterManager.cpp Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld 2014-05-29 05:24:00 +02:00
nsStatusReporterManager.h Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
nsSystemInfo.cpp Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj 2014-11-06 13:11:00 +01:00
nsSystemInfo.h Bug 1026100: Add profile-do-change observer to nsSystemInfo to gather profile-dependent system information; r=bsmedberg 2014-06-30 21:48:57 -06:00
nsTraceRefcnt.cpp Bug 1087128 - Remove some "Leaky" remnants. r=glandium. 2014-10-21 19:13:05 -07:00
nsTraceRefcnt.h Bug 1004593 - Remove the unused nsTraceRefCnt::Startup(). r=froydnj 2014-08-01 10:02:30 -07:00
nsUUIDGenerator.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
nsUUIDGenerator.h Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium 2014-06-02 18:41:00 -04:00
nsVersionComparatorImpl.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
nsVersionComparatorImpl.h Bug 1028588 - Fix dangerous public destructors in xpcom/ - r=bsmedberg,khuey,nfroyd 2014-06-30 18:11:53 -04:00
nsWeakPtr.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsWindowsHelpers.h Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj 2014-05-14 23:14:58 +03:00
pure_api.c
pure.h
StackWalk.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
StaticMutex.h Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj 2014-05-14 23:14:58 +03:00
StaticPtr.h Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj 2014-08-25 12:17:24 -07:00
SystemMemoryReporter.cpp Bug 1067711 (attempt 2) - Fix an assertion failure in the System memory reporter. r=erahm. 2014-09-17 18:23:33 -07:00
SystemMemoryReporter.h Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
VisualEventTracer.cpp Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj 2014-08-25 12:17:15 -07:00
VisualEventTracer.h Bug 1036070 - Remove dangerous public destructor of VisualEventTracer r=froydnj 2014-07-13 21:16:55 +03:00