1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 TEXT cas<>(SB),NOSPLIT,$0
10 MOVW $0xffff0fc0, R15 // R15 is PC
12 TEXT ·RewindAndSetgid(SB),NOSPLIT,$-4-0
16 // Rewind stack pointer so anything that happens on the stack
17 // will clobber the test pattern created by the caller
20 // Ask signaller to setgid
28 // Wait for setgid completion