Skip to content

Conversation

@cfriedt
Copy link
Member

@cfriedt cfriedt commented Jun 10, 2024

Implement the remaining functions in the POSIX_DEVICE_IO Option Group.

This Option Group is requried for the PSE51, PSE52, PSE53, and PSE54 subprofiles and likely others.

Doc Preview

Fixes #24966
Fixes #66932
Fixes #66938
Fixes #66946
Fixes #66947
Fixes #66948

@cfriedt cfriedt requested a review from ycsin June 10, 2024 01:00
@cfriedt cfriedt force-pushed the posix-device-io branch 11 times, most recently from e2eba59 to 44a701c Compare June 11, 2024 11:44
@cfriedt
Copy link
Member Author

cfriedt commented Jun 11, 2024

This one has a false positive regarding the reserved word "remove" due to the remove() function existing in a file that was touched.

No changes made there, although it is an ISO C function, and not a POSIX one. That would be a good bugfix at some point.

@cfriedt cfriedt added this to the v3.7.0 milestone Jun 11, 2024
@cfriedt cfriedt force-pushed the posix-device-io branch 5 times, most recently from eddd8a3 to fb66b50 Compare June 13, 2024 03:06
@cfriedt cfriedt force-pushed the posix-device-io branch 4 times, most recently from 677c2f8 to e3cf1b8 Compare June 15, 2024 19:01
@cfriedt cfriedt changed the title Posix device io posix: device_io: implement remaining functions Jun 15, 2024
@cfriedt cfriedt changed the title posix: device_io: implement remaining functions posix: device_io: implement fdopen(), fileno(), pread(), pselect(), pwrite() Jun 15, 2024
@cfriedt cfriedt force-pushed the posix-device-io branch 2 times, most recently from fc608ec to 9a5bb43 Compare June 15, 2024 22:50
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit b82b5b0.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit d9855da.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 499a633.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 48dff55.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 581a0f5.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 305ec62.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 49ac191.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 93973e2.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 2d72966.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 86b9293.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit 6f62292.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
DashingR pushed a commit to tsisw/zephyr that referenced this pull request Aug 15, 2024
This reverts commit a9a909c.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

Signed-off-by: Alberto Escolar Piedras <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

This reverts commit e9b676a.

(cherry picked from commit 57af8a4)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 57af8a4
Change-Id: I1efa08532628da79c8cc3034a68270c90d4ef6ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678567
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit b18cad1.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 72e2787)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 72e2787
Change-Id: I7d921e8541d18be3ee693075c58da0fa32bd3f75
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678568
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
…iour"

This reverts commit b10f1ca.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit b2ca594)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: b2ca594
Change-Id: I41a3ff34b14a511d5cfaa241b523310b5eda93d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678569
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
…oup"

This reverts commit 308322e.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 0642737)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 0642737
Change-Id: I832e331b28a571c1131a0eb36b135a1ec315356e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678570
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
…port"

This reverts commit b2243af.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 772ba46)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 772ba46
Change-Id: I138b76bf5d9ce465010830a966cdd7636f61ad26
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678571
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit be086f1.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 9a02561)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 9a02561
Change-Id: Ib8e1d8693083177fe8c35ae057523aae1b73a9ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678572
Reviewed-by: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit b82b5b0.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit db5266c)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: db5266c
Change-Id: I10fe4568df48b881c95c93d8a33789a24a7286d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678573
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit d9855da.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 6f0b8b5)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 6f0b8b5
Change-Id: I529bb86498b26b004ace19d5ee67fc8c247cf683
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678574
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 499a633.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit ade54b3)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: ade54b3
Change-Id: I46faf8605edf2a8f5f6bfa0493d959d3e8e330d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678575
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 48dff55.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 9f38377)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 9f38377
Change-Id: I5cb2c6f8939b9c17348f124acfe5950c13726243
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678576
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 581a0f5.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit a111cec)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: a111cec
Change-Id: Ia4fcb01813e62c88c7685ee8ceca7b737b627a20
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678577
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 305ec62.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 1a2d508)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 1a2d508
Change-Id: Ie8d8ef7bb728fa63dcfc29b1f8c0c5c8c721e265
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678578
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 49ac191.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 14e4de6)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 14e4de6
Change-Id: Icfbd16a960f2ed3266afeb262f33259519340506
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678579
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 93973e2.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 1df86af)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 1df86af
Change-Id: Idd7ae469a6c0adc8ee0981c000a304da91ca9f10
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678580
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 2d72966.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit c69ff54)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: c69ff54
Change-Id: I68aafbe87e9e3e46ad5e97c71027593ea6a8fca6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678581
Commit-Queue: Fabio Baltieri <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 86b9293.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 61e81a7)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 61e81a7
Change-Id: Ibe6440079d870ab079fbc78286edcd753c1a817b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678582
Commit-Queue: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit 6f62292.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 97e925e)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 97e925e
Change-Id: I8e0f74617797c354d5555670e50512e5c767db17
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678583
Reviewed-by: Fabio Baltieri <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Chenhongren pushed a commit to Chenhongren/zephyr that referenced this pull request Aug 26, 2024
This reverts commit a9a909c.

PR zephyrproject-rtos#73978 introduced a regression.
Unfortunately this PR cannot be reverted without reverting also
Let's revert both PRs to stabilize main again towards the 3.7 release.

For more details on the issue see
zephyrproject-rtos#75205

(cherry picked from commit 846556f)

Original-Signed-off-by: Alberto Escolar Piedras <[email protected]>
GitOrigin-RevId: 846556f
Change-Id: I6589633d3c009e1ecb5fa3f3264fff054c655fad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5678584
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Reviewed-by: Fabio Baltieri <[email protected]>
Commit-Queue: Fabio Baltieri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Base OS Base OS Library (lib/os) area: LWM2M area: Networking area: POSIX POSIX API Library area: Sockets Networking sockets area: Tracing Tracing

Projects

None yet

7 participants