Skip to content

Conversation

@Maratyszcza
Copy link
Contributor

Pull new revision of NNPACK which specifies non-executable stack in assembly files. Previous revision didn't do that, and depending on toolchain could cause linker to mark stack as executable for the linked binaries.

Pull new revision of NNPACK which specifies non-executable stack in assembly files. Previous revision didn't do that, and depending on toolchain could cause linker to mark stack as executable for the linked binaries.
@Maratyszcza Maratyszcza requested review from bddppq, orionr and pjh5 May 22, 2018 05:26
@ezyang
Copy link
Contributor

ezyang commented May 22, 2018

This is a pretty easy mistake for any library using assembly files to make; we should have an explicit check in CI to make sure the stack is not executable.

@Maratyszcza Maratyszcza merged commit 0e9613c into pytorch:master May 23, 2018
petrex pushed a commit to petrex/pytorch that referenced this pull request May 31, 2018
* origin:
  [Caffe2] Enabling AMD GPU Backend for Caffe2 (pytorch#7566)
  Call grad_mode.py context managers as decorators (pytorch#7737)
  catch CPU tensors in checkSameGPU (fixes pytorch#7689) (pytorch#7767)
  Mark stack as non-executable in NNPACK (pytorch#7752)
  small fixes in fusion_compiler (pytorch#7776)
  Run clang-format on c10d (pytorch#7791)
weiyangfb pushed a commit to weiyangfb/pytorch that referenced this pull request Jun 11, 2018
Pull new revision of NNPACK which specifies non-executable stack in assembly files. Previous revision didn't do that, and depending on toolchain could cause linker to mark stack as executable for the linked binaries.
@Maratyszcza Maratyszcza deleted the nnpack-noexecstack branch December 8, 2018 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants