DescriptionA hackish patch to make Breakpad upload the log if it's impossible to create a file in the crashed process (e.g. in a sandboxed Chromium renderer) Instead we pass the log string (mapped by the Breakpad user) as an out-of-line Mach message to the crash inspector, which creates the temporary file and adds it to the config dictionary. My current concerns are: -- Is it the right way to deal with sandboxed processes (assuming we'll be using the current Breakpad for some time)? -- Should it be possible to pass several log messages OOL (ASan will never need to)? -- Should we have a common ancestor for MachMsgPortDescriptor and MachMsgOOLDescriptor (probably yes)? -- How "random" should the temporary filenames be? I suppose there shouldn't be any security problem if the file is called "asan-log%timestamp%"? Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #Patch Set 8 : #Patch Set 9 : #Patch Set 10 : #Patch Set 11 : #
Total comments: 20
Patch Set 12 : #Patch Set 13 : #
Total comments: 18
Patch Set 14 : #Patch Set 15 : #Patch Set 16 : #
Total comments: 13
MessagesTotal messages: 10
|