ls: --colors=always -l . calls llistxattr twice for the same file
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
The payload names only the ls command run with --color=always -l . and the llistxattr system calls seen in the strace output, so start by reproducing that trace against a build of this repository's ls. Find where the extended-attribute listing is requested for each entry and why it runs twice when color output is enabled. Linked pull request #15210 is already open against this issue, so read it first and coordinate before starting a parallel fix. Done means one llistxattr call per file in the same strace run.
索引モデルが issue の本文から書いたものです。
説明
> ls
file file2
$ strace --trace=llistxattr ls --color=always -l .>/dev/null
llistxattr("./file", "", 4096) = 0
llistxattr("./file2", "", 4096) = 0
llistxattr("./file", "", 4096) = 0
llistxattr("./file2", "", 4096) = 0
+++ exited with 0 +++
$ strace --trace=llistxattr '/home/a/bin/gnu9.12/ls' --color=always -l .>/dev/null
llistxattr(".", "", 152) = 0
llistxattr("file2", "", 152) = 0
llistxattr("file", "", 152) = 0
+++ exited with 0 +++
- 主要言語
- Rust
- スター
- 24.3k
- フォーク
- 2.1k
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 331
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uutils/coreutils のほかの issue
-
mv: wrong reason when the source can't be stat'ed (missing 'x/' says Not a directory, EACCES says No such file)対応中かも @emirmrkaljevic が今日担当しました。 オープンU - mv
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
uutils/coreutils#15704 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
U - expand U - unexpand
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
bug(sort): different -t multiple values is accepted, instead of rejected対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンU - sort
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
uutils/coreutils#15598 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
U - sort
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
uutils/coreutils#15596 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
U - sort
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
uutils/coreutils の issue をすべて見る
似ている issue
-
checkpoint/verify/rebuild_indexes on a thread holding a WriteTransaction deadlock instead of INT-001オープンbug known-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
project-minigraf/minigraf#734 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
Nimblesite/lspkit#26 ·
メンテナーはふだん 1 日以内に返信