Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 138 for syscallsp (0.12 sec)

  1. src/internal/syscall/unix/getentropy_openbsd_mips64.go

    // license that can be found in the LICENSE file.
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    // getentropy(2)'s syscall number, from /usr/src/sys/kern/syscalls.master
    const entropyTrap uintptr = 7
    
    // GetEntropy calls the OpenBSD getentropy system call.
    func GetEntropy(p []byte) error {
    	_, _, errno := syscall.Syscall(entropyTrap,
    		uintptr(unsafe.Pointer(&p[0])),
    		uintptr(len(p)),
    		0)
    	if errno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 16:59:38 UTC 2022
    - 554 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/README.md

    them into syscalls. This requires the name of the prototype in the comment to
    match a syscall number in the `zsysnum_${GOOS}_${GOARCH}.go` file. The function
    prototype can be exported (capitalized) or not.
    
    Adding a new syscall often just requires adding a new `//sys` function prototype
    with the desired arguments and a capitalized name so it is exported. However, if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 14:32:58 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/testdata/tsan10.go

    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGUSR1)
    	defer signal.Stop(c)
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    	<-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 798 bytes
    - Viewed (0)
  4. src/cmd/internal/objabi/stack.go

    func stackGuardMultiplier(race bool) int {
    	// This arithmetic must match that in runtime/internal/sys/consts.go:StackGuardMultiplier.
    	n := 1
    	// On AIX, a larger stack is needed for syscalls.
    	if buildcfg.GOOS == "aix" {
    		n += 1
    	}
    	// The race build also needs more stack.
    	if race {
    		n += 1
    	}
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  5. src/syscall/mksysnum_openbsd.pl

    #
    # Generate system call table for OpenBSD from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    while(<>){
    	if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?(\{ \S+\s+\*?(\w+).*)$/){
    		my $num = $1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 872 bytes
    - Viewed (0)
  6. src/syscall/mksysnum_netbsd.pl

    #
    # Generate system call table for OpenBSD from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_netbsd.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    my $line = '';
    while(<>){
    	if($line =~ /^(.*)\\$/) {
    		# Handle continuation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 1K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/tests/go122-syscall-steal-proc-sitting-in-syscall.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 429 bytes
    - Viewed (0)
  8. src/syscall/mksysnum_freebsd.pl

    #
    # Generate system call table for FreeBSD from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_freebsd.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    while(<>){
    	if(/^([0-9]+)\s+\S+\s+STD\s+({ \S+\s+(\w+).*)$/){
    		my $num = $1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. src/syscall/mksysnum_dragonfly.pl

    #
    # Generate system call table for DragonFly from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_dragonfly.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    while(<>){
    	if(/^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$/){
    		my $num = $1;
    		my $proto = $2;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 866 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/plan9/asm_plan9_arm.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // System call support for plan9 on arm
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-32
    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-44
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0-28
    	JMP	syscall·RawSyscall(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 644 bytes
    - Viewed (0)
Back to top