Skip to content

internal/syscall/unix: fix number of params for unlinkat #72960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
4c0a47a
cmd/compile,cmd/link: move to DWARF5-style range lists
thanm Dec 12, 2024
bef2bb8
cmd/compile,cmd/link: move to DWARF5-style location lists
thanm Dec 13, 2024
7181118
net/http: check server shutting down before processing the request
WineChord Feb 20, 2024
a053e79
net/http: support TCP half-close when HTTP is upgraded in ReverseProxy
MrWako Jan 2, 2025
32fdcd7
mime/quotedprintable: accept LWSP-char after =
emersion Dec 22, 2024
fd8938c
net/http: speed up cookie and method validation
Feb 17, 2025
ba3c57f
os: guarantee min buffer size for ReadFile reads on /proc-like files
bradfitz Mar 3, 2025
f95941d
net/http/httputil: skip new test on Plan 9
ianlancetaylor Mar 4, 2025
52eaed6
runtime: decorate anonymous memory mappings
L3n41c Feb 1, 2025
0cfc641
crypto/elliptic: drop hidden Inverse and CombinedMult methods
FiloSottile Jan 3, 2025
3705a6f
all: update golang.org/x/net
JunyangShao Mar 4, 2025
a188955
context: skip allocs test with -asan
neild Mar 4, 2025
3501186
net/http: don't modify caller's tls.Config.NextProtos
neild Mar 4, 2025
583d586
sync: document behavior of Map.Delete when key is not present
FiloSottile Jan 8, 2025
8abb8aa
testing: modify got,want equal comparison for unordered example output
callthingsoff Mar 3, 2025
f27d86c
cmd/compile: add tests for too-large shift amounts
randall77 Mar 3, 2025
6f90ae3
cmd/compile: improve issue62407_test
TapirLiu Dec 21, 2024
2e6cbab
encoding/pem: clarify Decode only works on lines
seankhliao Aug 6, 2022
2c16041
text/template: provide example of overwriting template func after parse
rorycl Mar 4, 2025
932a4a4
go/types: add Var.Kind() VarKind method
adonovan Jan 28, 2025
37026a7
cmd/go: skip some tests that run builds in short mode
matloob Feb 28, 2025
061efaa
net/http: make http.FileServer return 404 when a path is invalid/unsafe
lodi-g Mar 5, 2025
f7204d7
html/template: example for disallowed script type change
seankhliao May 19, 2023
9189921
go/types,types2: externalize used objects
findleyr Feb 19, 2025
cad4dca
cmd/compile: use inline-Pos-based recursion test
dr2chase Mar 5, 2025
645ea53
runtime: in asan mode call __lsan_do_leak_check when exiting
ianlancetaylor Feb 22, 2025
39d7a49
cmd/internal/obj/loong64: add {V,XV}{ADD/SUB}.{B,H,W,D,Q} and {V,XV}{…
sophie-zhao Dec 19, 2024
6ba91df
math: implement func archExp and archExp2 in assembly on loong64
sophie-zhao Dec 31, 2024
6cb8c83
cmd/link/internal: remove trampoline for plt on loong64
limeidan Mar 5, 2025
92a63bd
runtime: explicitly disable async preempt for internal/runtime
panjf2000 Mar 5, 2025
e7f9e76
crypto: test for unexpected concrete methods in interface value returns
FiloSottile Dec 20, 2024
5e0dbec
crypto/rsa: add a test with very different prime sizes
FiloSottile Mar 5, 2025
70dcc78
math/big: avoid negative slice size in nat.rem
rsc Mar 5, 2025
3aef716
doc: update godebug doc to clarify godebug directive in workspace
matloob Mar 5, 2025
53d689c
cmd/internal/obj/loong64: add {V,XV}ILV{L/H}.{B/H/W/D} instructions s…
sophie-zhao Dec 13, 2024
66b7640
compress/lzw,compress/gzip,compress/flate,compress/zlib,compress/bzip…
dolmen Mar 5, 2025
938b6c1
os: more godoc links
dolmen Mar 6, 2025
6a4bc8d
cmd/go: cache coverage profile with tests
ryancurrah Feb 25, 2025
1cf6b50
cmd/compile: remove no-longer-necessary recursive inlining checks
dr2chase Mar 5, 2025
9bd2160
os: add missing calls to Root.Close() in tests
dolmen Mar 6, 2025
24d2235
cmd/go: add 'work' package pattern
matloob Jan 16, 2025
f55bb13
cmd/cgo/internal/testsanitizers: for "leak", use -fsanitize=address
ianlancetaylor Mar 6, 2025
8b7e376
go/types, types2: factor out single commonUnder function
griesemer Mar 3, 2025
584e631
go/types, types2: better error messages for invalid calls
griesemer Mar 4, 2025
5af3658
go/types, types2: use errorCause instead of reportf in comparableType
griesemer Mar 4, 2025
232dfd2
go/types, types2: rename errorCause to typeError
griesemer Mar 4, 2025
8a7742e
go/types, types2: factor out shared for-range checking code into rang…
griesemer Mar 6, 2025
d43c0f8
net: add comment about blocking to Conn.Close
ianlancetaylor Mar 6, 2025
fe9b292
go/types,types2: allocate the used* maps in initFiles
findleyr Mar 7, 2025
812a44e
archive/zip: preallocate fileList size for Reader.Open
dolmen Mar 6, 2025
e0b110b
text/template: add an if func example
linsite Mar 6, 2025
b4a333f
crypto/internal/fips140/bigmod: explicitly clear expanded limbs on reset
FiloSottile Mar 5, 2025
d7e5cd5
compress/flate,compress/lzw: fix incorrect godoc links
dolmen Mar 6, 2025
705fa92
crypto/internal/fips140: make Version return latest when not frozen
FiloSottile Mar 6, 2025
e690884
os: remove unused testingForceReadDirLstat
tklauser Mar 7, 2025
bc5f4a5
crypto/tls: small bogo shim test tidying
cpu Feb 15, 2025
22d5d09
net/http/httputil: close hijacked connections when CloseWrite not ava…
neild Mar 6, 2025
c3950f8
crypto/pbkdf2: fix code example for Key
Gusted Mar 8, 2025
c40a373
internal/godebugs: add decoratemappings as an opaque godebug setting
prattmic Mar 7, 2025
c3e7d5f
debug/dwarf: refactor entry DIE reading helper
thanm Mar 7, 2025
e256e64
debug/dwarf: fix problem with DWARF 5 and Seek method
thanm Mar 7, 2025
fd39971
cmd/cgo/internal/testsanitizers: bump GCC version for asan location c…
thanm Mar 9, 2025
2620cc1
cmd/go/internal/mmap: close file after mmap
matloob Feb 26, 2025
895bcf1
crypto/tls: reject empty TLS 1.3 session ticket
cpu Feb 17, 2025
04164e5
internal/runtime/atomic: updated go assembler comments
prabhavdogra Mar 7, 2025
b0e7f95
crypto/tls: run SkipNewSessionTicket bogo test
cpu Feb 18, 2025
2611d81
crypto/tls: ignore TLS 1.3 user canceled alerts
cpu Feb 19, 2025
01688da
crypto/tls: support bogo -wait-for-debugger
cpu Feb 19, 2025
5b4209f
crypto/tls: update GREASE-Server-TLS13 BoGo skip
cpu Feb 19, 2025
4635ad0
crypto/tls: align cert decode alert w/ BSSL
cpu Feb 26, 2025
574a9fa
crypto/tls: reject TLS 1.3 compat session ID in TLS 1.2
cpu Feb 26, 2025
2abe5ce
testing: warn against calling Log after a test completes
seankhliao Mar 10, 2025
2a772a2
cmd/compile: optimize shifts of int32 and uint32 on loong64
sophie-zhao Nov 14, 2024
e3ea8e6
cmd/internal/obj/loong64: add {V,XV}SEQI, {V,XV}.{AND,OR,XOR,NOR} ins…
abner-chenc Mar 6, 2025
2d097e3
go/types, types2: better error messages for copy built-in
griesemer Mar 6, 2025
e5d3ece
go/types, types2: remove need for coreString in signature.go
griesemer Mar 7, 2025
ae4c13a
go/types, types2: report better error messages for slice expressions
griesemer Mar 7, 2025
a588c6f
go/types, types2: report better error messages for make calls
griesemer Mar 8, 2025
73fea03
cmd/go: allow symlinks of non-directory files in embed
matloob Jan 16, 2025
be2ecfb
debug/dwarf: read DWARF 5 cu base offsets on SeekPC() path
thanm Mar 11, 2025
598df45
net: unblock UDP Reads upon Close on plan9, add test
bradfitz Mar 10, 2025
31658ac
runtime/internal: clean up completely
callthingsoff Mar 7, 2025
39b7837
net/mail: use sync.OnceValue to build dateLayouts
Mar 8, 2025
8591f8e
log/slog: use consistent call depth for all output
op Mar 5, 2025
3e033b7
cmd/compile: add constant folding for PopCount
Jorropo Mar 9, 2025
c18ff21
cmd/compile, runtime: remove plan9 special case avoiding SSE
rsc Mar 4, 2025
6c70f2b
cmd/compile: Enable inlining of tail calls
amusman Feb 17, 2025
b0e2f18
cmd/internal/obj/loong64: add {V,XV}MUL{B/H/W/V} and {V,XV}MUH{B/H/W/…
sophie-zhao Dec 16, 2024
8867af9
os: add more File.WriteAt tests
qmuntal Mar 10, 2025
3fb8b4f
all: move //go:debug decoratemappings=0 test to cmd/go
prattmic Mar 11, 2025
817218a
net/http: document Redirect behavior for non-ASCII characters
ianlancetaylor Mar 9, 2025
908af65
archive/zip: error on ReadDir if there are invalid file names
seankhliao Mar 10, 2025
4acc5b4
cmp: add examples for Compare and Less
cuishuang Mar 11, 2025
ca19f98
internal/buildcfg: enable DWARF version 5 by default
thanm Dec 19, 2024
17b9c9f
internal/bytealg: optimize Count{,String} in loong64
abner-chenc Mar 6, 2025
4364893
cmd/internal/script/scripttest: use GOHOSTARCH to find tool directory
ianlancetaylor Mar 11, 2025
bcd0ebb
internal/cpu: use correct variable when parsing CPU features lamcas a…
abner-chenc Mar 6, 2025
d284222
cmd/compile: compute min's & max's limits from argument's limits insi…
Jorropo Mar 9, 2025
554a3c5
cmd/compile: use min & max builtins to assert constant bounds in prov…
Jorropo Mar 9, 2025
c00647b
cmd/compile: set bits.OnesCount's limits to [0, 64]
Jorropo Mar 9, 2025
c032b04
internal/buildcfg: fix typo in DWARF 5 enabling code
thanm Mar 12, 2025
8d767ff
runtime: increase GDB version testing requirement to 10 from 7.7
thanm Mar 12, 2025
99411d7
cmd/compile: compute bits.OnesCount's limits from argument's limits
Jorropo Mar 9, 2025
4ff70cf
cmd/compile: add MakeTuple generic SSA op to remove duplicate Select[…
Jorropo Mar 11, 2025
b60b9cf
cmd/compile: add constant folding for bits.Add64
Jorropo Mar 9, 2025
644b984
cmd/compile: compute bitsize from type size in prove to clean some sw…
Jorropo Mar 10, 2025
35cb497
cmd/compile: remove useSSE
rsc Mar 5, 2025
c9b07e8
cmd/compile: use FMA on plan9, and drop UseFMA
rsc Mar 5, 2025
26040b1
cmd/compile: remove noDuffDevice
rsc Mar 7, 2025
d037ed6
math/big: simplify, speed up Karatsuba multiplication
rsc Jan 17, 2025
40c953c
runtime: remove nextSampleNoFP from plan9
rsc Mar 7, 2025
a812e5f
math/big: update calibration tests and recalibrate
rsc Jan 18, 2025
7e8cead
cmd/compile/internal/ssagen: use an alias for math/bits.Len
4a6f656c Mar 12, 2025
bec12f1
log/slog: optimize appendKey to reduce allocations
Aoang Nov 23, 2024
955cf08
cmd/internal/dwarf: fix bug in inlined func DIE range DWARF 5 info
thanm Mar 12, 2025
485480f
net: deflake recently added TestCloseUnblocksReadUDP
bradfitz Mar 12, 2025
a68bf75
cmd/go: don't write own toolchain line when updating go line
matloob Mar 10, 2025
d729053
mime/multipart: add helper to build content-disposition header contents
malta895 Mar 12, 2025
b10c359
cmd/internal/obj/loong64: add {V,XV}DIV{B/H/W/V}[U] and {V,XV}MOD{B/H…
sophie-zhao Dec 16, 2024
b143c98
cmd/compile: simplify bounded shift on loong64
sophie-zhao Nov 16, 2024
8cdef12
cmd/link: only check PIE size difference when the linkmode is the same
4a6f656c Mar 12, 2025
d7f5883
doc/next: add tentative DWARF 5 release note fragment
thanm Mar 12, 2025
bdfa604
cmd/internal/dwarf: always use AT_ranges for scopes with DWARF 5
thanm Mar 12, 2025
af92bb5
test/codegen: remove plan9/amd64 specific array zeroing/copying tests
4a6f656c Mar 12, 2025
fb8691e
syscall: use testing.T.Context
tklauser Mar 12, 2025
f3c69c2
cmd/go/internal/load,cmd/link/internal/ld: use objabi.LookupPkgSpecia…
callthingsoff Mar 12, 2025
12ea4f7
doc/next: add release note for new toolchain line behavior
matloob Mar 12, 2025
fbdd994
crypto/tls: allow P-521 in FIPS 140-3 mode and Go+BoringCrypto
FiloSottile Mar 12, 2025
6bd5741
crypto/tls: add ConnectionState.CurveID
FiloSottile Feb 27, 2025
0f5d86c
cmd/go: permit additional cflags when compiling
Jul 9, 2023
59afdd3
crypto/tls: clean up supported/default/allowed parameters
FiloSottile Feb 19, 2025
6114b69
crypto/tls: relax native FIPS 140-3 mode
FiloSottile Feb 19, 2025
d704ef7
crypto/tls/internal/fips140tls: use crypto/fips140
qmuntal Jan 10, 2025
3b456ff
crypto/x509,ecoding/asn1: better handling of weird encodings
rolandshoemaker Feb 21, 2025
937368f
crypto/x509: change how we retrieve chains on darwin
rolandshoemaker Mar 4, 2025
80f0689
cmd/internal/obj/loong64: add {V,XV}{FSQRT/FRECIP/FRSQRT}.{S/D} instr…
sophie-zhao Dec 16, 2024
a1ddbdd
cmd/compile: don't move nilCheck operations during tighten
randall77 Mar 13, 2025
7e3d2aa
encoding/asn1: make sure implicit fields roundtrip
rolandshoemaker Mar 3, 2025
577bb3d
runtime: only set isExtraInC if there are no Go frames left
prattmic Mar 14, 2025
c1c7e59
test/codegen: tighten the TrailingZeros64 test on 386
4a6f656c Feb 26, 2025
853b514
time: optimize quote using byte(c) for ASCII
Mar 13, 2025
5bb73e6
debug/elf: add riscv attributes definitions
mengzhuo Mar 13, 2025
580b6ee
cmd/go: enable fuzz testing on OpenBSD
macie May 30, 2023
3c3b8dd
internal/runtime/atomic: add Xchg8 for s390x and wasm
rhysh Mar 14, 2025
c01fa0c
test/codegen: add riscv64/rva23u64 specifiers to existing tests
4a6f656c Feb 23, 2025
e1f9013
test/codegen: add riscv64 codegen for arithmetic tests
4a6f656c Feb 24, 2025
a8f2e63
test/codegen: add a test for negation and conversion to int32
4a6f656c Feb 24, 2025
10d0706
cmd/compile/internal/ssa: remove double negation with addition on ris…
4a6f656c Feb 23, 2025
2141751
cmd/compile: combine negation and word sign extension on riscv64
4a6f656c Oct 12, 2022
35139d6
runtime: log profile when mutex profile test fails
rhysh Mar 14, 2025
bb6a400
os: use slices.Clone
tklauser Mar 14, 2025
e0edd3e
html/template: replace end-of-life link
cuishuang Jan 15, 2024
e6ffe76
strings: add FuzzReplace test
Jorropo Mar 14, 2025
6fb7bdc
cmd/compile: intrinsify math/bits.TrailingZeros on riscv64
4a6f656c Feb 23, 2025
38d146d
doc/go_mem: fix grammar issue
Mar 16, 2025
f41fdd9
cmd/internal/obj/loong64: add {V,XV}NEG{B/H/W/V} instructions support
sophie-zhao Dec 13, 2024
7dd7d70
runtime: skip TestCgoCallbackPprof on platforms with broken profiling
prattmic Mar 17, 2025
57c44fd
html/template: document comment stripping
seankhliao Mar 15, 2025
bceade5
doc/next: add release note for work package pattern
matloob Mar 17, 2025
e41ec30
reflect: document Method(ByName) w.r.t dead code elimination
ikonst Mar 15, 2025
5e98202
internal/buildcfg: expand spinbitmutex platforms
rhysh Mar 14, 2025
7a8ce5e
cmd/go: point tidy errors to correct URL
mohammed90 Dec 6, 2024
44d1d2e
crypto/internal/hpke: use crypto/hkdf
qmuntal Mar 17, 2025
eb7ab11
crypto/internal/hpke: propagate hkdf error value
qmuntal Mar 17, 2025
c7ea871
log/slog: document Logger ignores Handler.Handle errors
seankhliao Mar 17, 2025
cd2f347
crypto/tls: fix ECH compatibility
gdy666 Feb 10, 2025
180795c
runtime, runtime/cgo: use libc for sigaction syscalls when cgo is ena…
limeidan Mar 5, 2025
0694718
runtime: add function runtime.cgoSigtramp support on loong64 and enab…
limeidan Mar 6, 2025
5916bc5
runtime, time: don't use monotonic clock inside synctest bubbles
neild Mar 12, 2025
a17c092
net/http: add onClose hook to fake net listener
neild Mar 17, 2025
6b18311
cmd/go/internal/clean: add logging to help debug openbsd flakes
matloob Mar 18, 2025
c8eced8
net/http/httputil: document ProxyRequest.SetURL limitations
seankhliao Mar 17, 2025
fcb27f7
cmd/compile/internal/amd64: disable FIPS 140-3 mode for TestGoAMD64v1
FiloSottile Mar 18, 2025
bfb27fb
bytes,strings: document Fields trimming of leading and trailing chara…
seankhliao Mar 17, 2025
3309658
doc: document change in nil-ptr checking behavior
randall77 Mar 18, 2025
2148309
os: add Root.Chtimes
neild Feb 11, 2025
2e749a6
internal/godebugs: fix changed version for winsymlink and winreadlink…
liggitt Mar 19, 2025
24b3951
cmd/internal/obj/riscv: prevent duplicate error reports
markdryan Dec 10, 2024
1aee4f3
cmd/internal/obj/riscv: prevent panics on bad branches
markdryan Dec 11, 2024
56e5476
runtime: in asan mode unregister root regions on free
znkr Mar 19, 2025
deb6790
cmd/compile: remove implicit deref from len(p) where p is ptr-to-array
randall77 Mar 14, 2025
1aa9c31
net/http/httputil: don't call WriteHeader after Hijack
neild Mar 19, 2025
011b7ce
go/types, types2: fix silly logic error in commonUnder
griesemer Mar 19, 2025
f9f5d1e
runtime/race: detect when TestRace fails to run all tests, skip failures
neild Mar 18, 2025
1eb1579
os: add Root.Lchown
neild Feb 14, 2025
cb0d767
os: add Root.Readlink
neild Mar 18, 2025
48240ad
internal/syscall/unix: use correct number of params in unlinkat, fcho…
neild Mar 19, 2025
f233739
internal/syscall/unix: fix number of params for unlinkat
kolyshkin Mar 19, 2025
4bc6c71
os: skip Root.Chtimes atime check on netbsd, truncate a/mtime on plan9
neild Mar 19, 2025
57dac32
misc/linkcheck: remove unused tool
seankhliao Mar 19, 2025
dc49aba
net/smtp: make test certificate FIPS 140-3 compliant
FiloSottile Mar 18, 2025
b1ec5ad
crypto/tls: add missing RUnlock in ticketKeys
espadolini Jul 26, 2024
af0d51c
os: fix typos in comments
kolyshkin Mar 18, 2025
03cb8d4
cmd/compile/internal/ssagen: use an alias for math/bits.OnesCount
4a6f656c Mar 19, 2025
b59b058
os: don't wrap os.Getgroups error in tests
kolyshkin Mar 18, 2025
0201470
doc: go 1.26 remove support for windows/arm
qiulaidongfeng Mar 16, 2025
19b6f01
go/parser: add *ast.BlockStmt depth test
mateusz834 Mar 20, 2025
2fb5610
strings: speed up Replace
Mar 19, 2025
84e0061
net/http/httputil: document ReverseProxy removal of response headers
seankhliao Mar 17, 2025
665af86
cmd/go: fail go clean command when failed to find go cache directory
mneverov Mar 18, 2025
a4a5ef0
cmd/cgo/internal/testshared: log stdout when go command fails
qmuntal Mar 20, 2025
e9558d3
all: use exec.Command.String in test logs
qmuntal Mar 20, 2025
9dc572e
cmd/compile/internal/ssa: remove linkedBlocks and its uses
mateusz834 Mar 20, 2025
ba50de8
os: skip atime checks in TestRootChtimes on plan9
neild Mar 20, 2025
b613d21
testing: allow manual timer control in testing.B.Loop
JunyangShao Mar 18, 2025
93fe8c0
strings: don't assert on Replace's allocs for ASAN
Mar 20, 2025
686128a
runtime/race: don't complain about unrun tests when fatal map access …
neild Mar 20, 2025
2ffda87
os: add Root.Rename
neild Mar 19, 2025
a20d583
cmd/compile/internal/abi: fix ComputePadding
derekparker Mar 19, 2025
c558f01
runtime/race: fix reversed conditional in test for fatal map access
neild Mar 20, 2025
c386ed1
cmd/internal/obj/riscv: fix the encoding for REV8 and ORCB
markdryan Dec 11, 2024
69ea62f
Revert "cmd/compile/internal/abi: fix ComputePadding"
cherrymui Mar 21, 2025
c0392e7
runtime: fix interactions between synctest, race detector, and timers
neild Mar 17, 2025
a39046f
internal/syscall/windows: set SYNCHRONIZE flag in Deleteat
neild Mar 20, 2025
2cc0ea4
internal/syscall/unix: add missing cgo_import_dynamics for AIX
neild Mar 20, 2025
3108366
runtime: deduplicate context call injection on Windows
qmuntal Mar 14, 2025
ba01453
cmd/link/internal/ld: change pe64 from int to bool
qmuntal Mar 19, 2025
afe11db
cmd/compile/internal/abi: fix ComputePadding
derekparker Mar 21, 2025
9003154
testing: separate b.Loop counter from b.N
aclements Mar 19, 2025
574e836
cmd/asm/internal/asm: add additional tests for constant loads on riscv64
4a6f656c Feb 18, 2025
af133d8
cmd/internal/obj/riscv: factor out shift constant code
4a6f656c Feb 18, 2025
b70244f
cmd/compile: intrinsify math/bits.Len on riscv64
4a6f656c Feb 23, 2025
3ada42f
go/types, types2: align trace output a bit better for easier debugging
griesemer Mar 20, 2025
4ae6ab2
cmd/asm: add LCDBR instruction on s390x
Vishwanatha-HD Feb 10, 2025
d2d1fd6
os: add Root.Link
neild Mar 20, 2025
7372b64
net/url: document referenced RFCs
seankhliao Mar 22, 2025
2d2bcdd
cmd/go: upgrade go install pkg@version's go using local mod, work
matloob Mar 5, 2025
7104764
testing: remove redundant variable capture from subtest example
jakebailey Mar 22, 2025
c72e274
go/build: prioritize build constraints in docs
seankhliao Mar 21, 2025
b7f8c2a
testing: detect early return from B.Loop
aclements Mar 20, 2025
5918101
testing: detect a stopped timer in B.Loop
aclements Mar 20, 2025
aaf9b46
testing: streamline logic in loopSlowPath
aclements Mar 20, 2025
9c88db5
runtime: always show runfinq in traceback
prattmic Mar 24, 2025
4f11f8f
runtime: rename runfinq to runFinalizersAndCleanups
prattmic Mar 24, 2025
dab10bc
cmd/internal/obj/arm64: replace range checks with isaddcon2
4a6f656c Feb 20, 2025
f90f3cf
cmd/internal/obj/arm64: move register encoding into oprrr
4a6f656c Jan 7, 2023
4f5863c
cmd/internal/obj/arm64: provide and use an oprrrr function
4a6f656c Jan 7, 2023
ac8474c
cmd/internal/obj/loong64: add [X]VMULW{EV/OD} series instructions sup…
sophie-zhao Mar 17, 2025
fd0805b
cmd/internal/obj/arm64: move register encoding into opldrr/opstrr
4a6f656c Feb 27, 2023
6bf95d4
test/codegen: add combined conversion and shift tests
4a6f656c Sep 9, 2024
35c9864
internal/poll: always use SetFileCompletionNotificationModes on non-s…
qmuntal Mar 25, 2025
936bb82
internal/poll,net: set SIO_UDP_CONNRESET in net
qmuntal Mar 25, 2025
2bf57a3
testing: document exit codes
seankhliao Mar 22, 2025
44fef2a
bytes: speed up Replace
Mar 20, 2025
87d1833
cmd/go/internal/modload: improve ErrNoModRoot error text
matloob Mar 25, 2025
0095b5d
cmd/internal/obj/loong64: add [X]VSHUF4I.{B/H/W/D} instructions support
sophie-zhao Mar 17, 2025
99d97d7
testing/slogtest: test nested groups in empty record
arukiidou Mar 23, 2025
ea33ce3
Merge pull request #1 from golang/master
shivaninischal0 Mar 26, 2025
7e6685c
Revert "AIP token access "
shivaninischal0 Mar 27, 2025
cdd82a7
Merge pull request #2 from shivaninischal0/revert-1-master
shivaninischal0 Mar 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE

This file was deleted.

94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/00-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Bugs
description: The go command, standard library, or anything else
title: "import/path: issue title"

body:
- type: markdown
attributes:
value: |
Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem.

- type: input
id: go-version
attributes:
label: Go version
description: |
What version of Go are you using (`go version`)?

Note: we only [support](https://go.dev/doc/devel/release#policy) the two most recent major releases.
placeholder: ex. go version go1.20.7 darwin/arm64
validations:
required: true

- type: textarea
id: go-env
attributes:
label: "Output of `go env` in your module/workspace:"
placeholder: |
GO111MODULE=""
GOARCH="arm64"
GOBIN="/Users/gopher/go/bin"
GOCACHE="/Users/gopher/go/cache"
GOENV="/Users/gopher/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/gopher/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/gopher/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20.7"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
render: shell
validations:
required: true

- type: textarea
id: what-did-you-do
attributes:
label: "What did you do?"
description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best."
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: "What did you see happen?"
description: Command invocations and their associated output, functions with their arguments and return results, full stacktraces for panics (upload a file if it is very long), etc. Prefer copying text output over using screenshots.
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: "What did you expect to see?"
description: Why is the current output incorrect, and any additional context we may need to understand the issue.
validations:
required: true
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/01-pkgsite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Pkg.go.dev bugs or feature requests
description: Issues or feature requests for the documentation site
title: "x/pkgsite: issue title"
labels: ["pkgsite"]
body:
- type: markdown
attributes:
value: "Please answer these questions before submitting your issue. Thanks!"
- type: input
id: url
attributes:
label: "What is the URL of the page with the issue?"
validations:
required: true
- type: input
id: user-agent
attributes:
label: "What is your user agent?"
description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent"
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: "Screenshot"
description: "Please paste a screenshot of the page."
validations:
required: false
- type: textarea
id: what-did-you-do
attributes:
label: "What did you do?"
description: "If possible, provide a recipe for reproducing the error. Starting with a Private/Incognito tab/window may help rule out problematic browser extensions."
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: "What did you see happen?"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: "What did you expect to see?"
validations:
required: true
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Pkg.go.dev package removal request
description: Request a package be removed from the documentation site (pkg.go.dev)
title: "x/pkgsite: package removal request for [type path here]"
labels: ["pkgsite/package-removal"]
body:
- type: markdown
attributes:
value: "Please answer these questions before submitting your issue. Thanks!"
- type: input
id: package-path
attributes:
label: "What is the path of the package that you would like to have removed?"
description: |
We can remove packages with a shared path prefix.
For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix.
validations:
required: true
- type: textarea
id: package-owner
attributes:
label: "Are you the owner of this package?"
description: |
Only the package owners can request to have their packages removed from pkg.go.dev.
If the package path doesn't include your github username, please provide some other form of proof of ownership.
validations:
required: true
- type: textarea
id: retraction-reason
attributes:
label: "What is the reason that you could not retract this package instead?"
description: |
Requesting we remove a module here only hides the generated documentation on pkg.go.dev.
It does not affect the behaviour of proxy.golang.org or the go command.
Instead we recommend using the retract directive which will be processed by all 3 of the above.

If you have deleted your repo, please recreate it and publish a retraction.

Retracting a module version involves adding a retract directive to your go.mod file and publishing a new version.
For example: https://github.com/jba/retract-demo/blob/main/go.mod#L5-L8.
See https://pkg.go.dev/about#removing-a-package for additional tips on retractions.
validations:
required: true
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/03-gopls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Gopls bugs or feature requests
description: Issues or feature requests for the Go language server (gopls)
title: "x/tools/gopls: issue title"
labels: ["gopls", "Tools"]
body:
- type: markdown
attributes:
value: "Please answer these questions before submitting your issue. Thanks!"
- type: textarea
id: gopls-version
attributes:
label: "gopls version"
description: "Output of `gopls -v version` on the command line"
validations:
required: true
- type: textarea
id: go-env
attributes:
label: "go env"
description: "Output of `go env` on the command line in your workspace directory"
render: shell
validations:
required: true
- type: textarea
id: what-did-you-do
attributes:
label: "What did you do?"
description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: "What did you see happen?"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: "What did you expect to see?"
validations:
required: true
- type: textarea
id: editor-and-settings
attributes:
label: "Editor and settings"
description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)"
validations:
required: false
- type: textarea
id: logs
attributes:
label: "Logs"
description: "If possible please include gopls logs. Instructions for capturing them can be found here: https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-logs"
validations:
required: false
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/04-vuln.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Go vulnerability management - bugs and feature requests
description: Issues or feature requests about Go vulnerability management
title: "x/vuln: issue title"
labels: ["vulncheck or vulndb"]
body:
- type: markdown
attributes:
value: "Please answer these questions before submitting your issue. Thanks! To add a new vulnerability to the Go vulnerability database (https://vuln.go.dev), see https://go.dev/s/vulndb-report-new. To report an issue about a report, see https://go.dev/s/vulndb-report-feedback."
- type: textarea
id: govulncheck-version
attributes:
label: govulncheck version
description: What version of govulncheck are you using (`govulncheck -version`)?
placeholder: |
Go: devel go1.22-0262ea1ff9 Thu Oct 26 18:46:50 2023 +0000
Scanner: govulncheck@v1.0.2-0.20231108200754-fcf7dff7b242
DB: https://vuln.go.dev
DB updated: 2023-11-21 15:39:17 +0000 UTC
validations:
required: true
- type: textarea
id: reproduce-latest-version
attributes:
label: "Does this issue reproduce at the latest version of golang.org/x/vuln?"
validations:
required: true
- type: textarea
id: go-env
attributes:
label: "Output of `go env` in your module/workspace:"
render: shell
validations:
required: true
- type: textarea
id: what-did-you-do
attributes:
label: "What did you do?"
description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best."
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: "What did you see happen?"
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: "What did you expect to see?"
validations:
required: true
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/10-proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Proposals
description: New external API or other notable changes
title: "proposal: import/path: proposal title"
labels: ["Proposal"]
body:
- type: markdown
attributes:
value: "Our proposal process is documented here: https://go.dev/s/proposal-process"
- type: textarea
id: proposal-details
attributes:
label: "Proposal Details"
description: "Please provide the details of your proposal here."
validations:
required: true
Loading