Message ID | mvmk27hsb5l.fsf@suse.de |
---|---|
State | New |
Headers | show |
On Wed, Mar 22, 2017 at 6:17 AM, Andreas Schwab <schwab@suse.de> wrote: > --- > libgo/go/internal/syscall/unix/getrandom_linux_m68k.go | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 libgo/go/internal/syscall/unix/getrandom_linux_m68k.go > > diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go > new file mode 100644 > index 0000000000..5559d30d33 > --- /dev/null > +++ b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go > @@ -0,0 +1,9 @@ > +// Copyright 2017 The Go Authors. All rights reserved. > +// Use of this source code is governed by a BSD-style > +// license that can be found in the LICENSE file. > + > +package unix > + > +// Linux getrandom system call number. > +// See GetRandom in getrandom_linux.go. > +const randomTrap uintptr = 352 Thanks. Committed to mainline. Ian
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go new file mode 100644 index 0000000000..5559d30d33 --- /dev/null +++ b/libgo/go/internal/syscall/unix/getrandom_linux_m68k.go @@ -0,0 +1,9 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package unix + +// Linux getrandom system call number. +// See GetRandom in getrandom_linux.go. +const randomTrap uintptr = 352