1 // Copyright 2009 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.
17 func sysargs(argc int32, argv **byte) {
18 // skip over argv, envv to get to auxv
20 for argv_index(argv, n) != nil {
24 auxv := (*[1 << 28]uint32)(add(unsafe.Pointer(argv), uintptr(n)*ptrSize))
26 for i := 0; auxv[i] != _AT_NULL; i += 2 {
32 startupRandomData = (*[16]byte)(unsafe.Pointer(uintptr(auxv[i+1])))[:]