java threads
what allows java to create a new thread? execmem? execstack?
Earth is a beta site.
Quoted 1 line · Jeremiah Jahn
what allows java to create a new thread? execmem? execstack?
execmem/execstack are memory controls, not thread controls.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Stephen Smalley
Quoted 1 line · Jeremiah Jahn
what allows java to create a new thread? execmem? execstack?
execmem/execstack are memory controls, not thread controls.
That's what I was thinking, but without allowing execmem, java can't seem to start up a new thread. I know for the longest time, java on Linux didn't use the standard thread API, so I thought that might be the cause. I'm just curious to see if anyone knows why this seems to be required for java to do it's thing with regards to threads.
Quoted 1 line
"If I am elected, the concrete barriers around the WHITE HOUSE will be replaced by tasteful foam replicas of ANN MARGARET!"
Quoted 11 lines · Jeremiah Jahn
Quoted 4 lines · Stephen Smalley
Quoted 1 line · Jeremiah Jahn
what allows java to create a new thread? execmem? execstack?
execmem/execstack are memory controls, not thread controls.
That's what I was thinking, but without allowing execmem, java can't seem to start up a new thread. I know for the longest time, java on Linux didn't use the standard thread API, so I thought that might be the cause. I'm just curious to see if anyone knows why this seems to be required for java to do it's thing with regards to threads.
Might be allocating the thread stack with PROT_EXEC, triggering the execmem denial.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · Jeremiah Jahn
Quoted 4 lines · Stephen Smalley
Quoted 1 line · Jeremiah Jahn
what allows java to create a new thread? execmem? execstack?
execmem/execstack are memory controls, not thread controls.
That's what I was thinking, but without allowing execmem, java can't seem to start up a new thread. I know for the longest time, java on Linux didn't use the standard thread API, so I thought that might be the cause. I'm just curious to see if anyone knows why this seems to be required for java to do it's thing with regards to threads.
BTW, java does require execmem in order to do runtime code generation regardless of the threads issue.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.