Gitiles
Code Review
Sign In
git01.mediatek.com
/
filogic
/
uboot
/
413c7b300d534f242ae6562f4728f028520f203e
/
arch
/
sandbox
/
cpu
/
os.c
118b988
sandbox: use sane access rights for files
by Heinrich Schuchardt
· Wed Apr 10 10:38:28 2024 +0200
8ac326d
sandbox: don't call os_close with invalid file descriptor
by Heinrich Schuchardt
· Wed Apr 10 23:50:34 2024 +0200
ee20d66
Merge tag 'v2024.01-rc3' into next
by Tom Rini
· Mon Nov 20 09:19:50 2023 -0500
988996f
arch: sandbox: Add function to create temporary files
by Sean Anderson
· Sat Nov 04 16:37:51 2023 -0400
c7bc6cd
sandbox: Close file after mmaping it
by Sean Anderson
· Sat Nov 04 15:57:33 2023 -0400
528a0f6
sandbox: Add a way to access persistent test files
by Simon Glass
· Thu Aug 24 13:55:37 2023 -0600
6db1b65
sandbox: fix return type of os_filesize()
by Heinrich Schuchardt
· Wed Apr 05 11:34:15 2023 +0200
ae400f3
sandbox: add SIGALRM-based watchdog device
by Rasmus Villemoes
· Tue Sep 27 11:54:04 2022 +0200
79cb241
sandbox: unblock signal before calling execv()
by Heinrich Schuchardt
· Fri Sep 02 02:32:25 2022 +0200
4acd1a0
sandbox: Add function os_flush()
by Pali Rohár
· Mon Sep 05 11:31:16 2022 +0200
bb63ea8
sandbox: add function os_printf()
by Heinrich Schuchardt
· Mon Apr 04 22:45:03 2022 +0200
2b40f80
sandbox: Add libfuzzer integration
by Andrew Scull
· Mon May 30 10:00:11 2022 +0000
ca5d137
sandbox: Decouple program entry from sandbox init
by Andrew Scull
· Mon May 30 10:00:10 2022 +0000
d56c6f4
sandbox: Correct loss of early output in SPL
by Simon Glass
· Sun Mar 27 14:26:14 2022 -0600
47b4c02
doc: replace @return by Return:
by Heinrich Schuchardt
· Wed Jan 19 18:05:50 2022 +0100
011a1e0
sandbox: compatibility of os_get_filesize()
by Heinrich Schuchardt
· Tue Jan 11 01:50:24 2022 +0100
92ebac7
sandbox: replace putchar(ch) by fputc(ch, stdout)
by Heinrich Schuchardt
· Sat Nov 20 13:28:33 2021 +0100
5c1fd58
sandbox: Support unmapping a file
by Simon Glass
· Sat Oct 23 17:25:58 2021 -0600
e4c25c8
sandbox: Add a way to map a file into memory
by Simon Glass
· Wed Aug 18 21:40:31 2021 -0600
7b9cf84f
sandbox: Add a way to find the size of a file
by Simon Glass
· Wed Aug 18 21:40:30 2021 -0600
ba16a27
sandbox: Correct handling of --rm_memory
by Simon Glass
· Wed Aug 18 21:40:24 2021 -0600
d3741bc
sandbox: don't set SA_NODEFER in signal handler
by Heinrich Schuchardt
· Mon Jul 05 19:43:00 2021 +0200
1cd0600
sandbox: Support executables for more phases
by Simon Glass
· Mon Jul 05 16:32:45 2021 -0600
184c4af
sandbox: use sections instead of symbols for getopt array boundaries
by Marek Behún
· Thu May 20 13:24:06 2021 +0200
dafc5d7
sandbox: Only delete the executable if requested
by Simon Glass
· Mon Mar 15 18:11:07 2021 +1300
df8b8f5
sandbox: Drop debug message in os_spl_to_uboot()
by Simon Glass
· Mon Mar 15 17:25:12 2021 +1300
b90e487
sandbox: Update os_find_u_boot() to find the .img file
by Simon Glass
· Sun Mar 07 17:35:13 2021 -0700
edd094e
sandbox: Avoid using malloc() for system state
by Simon Glass
· Sat Feb 06 09:57:33 2021 -0700
4c902fa
sandbox: Add os_realloc()
by Simon Glass
· Sat Feb 06 09:57:32 2021 -0700
c0d1a00
sandbox: keep time offset when resetting
by Heinrich Schuchardt
· Wed Dec 30 18:07:48 2020 +0100
6daf905
sandbox: remove ram buffer file when U-Boot is loaded by SPL
by Patrick Delaunay
· Fri Nov 20 09:48:33 2020 +0100
28eb509
sandbox: add handler for exceptions
by Heinrich Schuchardt
· Thu Nov 12 00:29:56 2020 +0100
1c67844
sandbox: implement reset
by Heinrich Schuchardt
· Tue Oct 27 20:29:25 2020 +0100
fc96df6
sandbox: use O_CLOEXEC in os_open()
by Heinrich Schuchardt
· Tue Oct 27 20:29:24 2020 +0100
69db2ee
sandbox: eth-raw: do not close the console input
by Heinrich Schuchardt
· Tue Oct 27 20:29:21 2020 +0100
2b72ad2
sandbox: also restore terminal settings when killed by SIGINT
by Rasmus Villemoes
· Fri Feb 14 10:58:37 2020 +0000
0a4eabb
sandbox: Ensure that long-options array is terminated
by Simon Glass
· Mon Feb 03 07:36:04 2020 -0700
9562d4c
sandbox: Drop os_realloc()
by Simon Glass
· Mon Feb 03 07:36:03 2020 -0700
fa25226
sandbox: Drop use of special os_malloc() where possible
by Simon Glass
· Mon Feb 03 07:36:02 2020 -0700
05a1684
sandbox: use correct type reading /proc/self/maps
by Heinrich Schuchardt
· Sat Oct 26 23:17:44 2019 +0200
fc2dde8
sandbox: Correct maths in allocation routines
by Simon Glass
· Mon Apr 08 13:20:42 2019 -0600
752707a
sandbox: Improve debugging in initcall_run_list()
by Simon Glass
· Mon Apr 08 13:20:41 2019 -0600
23eabbb
sandbox: Fix up the debug message for the image filename
by Simon Glass
· Fri Nov 23 21:29:24 2018 -0700
f2af76b
sandbox: Use memmove() to move overlapping regions
by Simon Glass
· Tue Nov 13 15:55:20 2018 -0700
cca2552
sandbox: Boot in U-Boot through the standard call
by Simon Glass
· Thu Nov 15 18:44:08 2018 -0700
7465f00
sandbox: Filter arguments when starting U-Boot
by Simon Glass
· Thu Nov 15 18:44:07 2018 -0700
6009763
sandbox: Use malloc() and free() from os layer
by Simon Glass
· Thu Nov 15 18:44:06 2018 -0700
7dafd02
sandbox: Refactor code to create os_jump_to_file()
by Simon Glass
· Thu Nov 15 18:44:05 2018 -0700
8d176d8
sandbox: Add a function to read a host file
by Simon Glass
· Tue Nov 06 15:21:25 2018 -0700
57ba942
sandbox: Try to start the RAM buffer at a particular address
by Simon Glass
· Sun Jun 17 08:57:43 2018 -0600
ae50ec7
sandbox: Restore blocking I/O on exit
by Simon Glass
· Mon Oct 01 11:55:20 2018 -0600
dc4d8eb
sandbox: Support booting from TPL to SPL
by Simon Glass
· Mon Oct 01 11:55:10 2018 -0600
cbfa845
sandbox: Add a way to write data to the host filesystem
by Simon Glass
· Mon Oct 01 11:55:08 2018 -0600
ce55a11
sandbox: Support file truncation with os_open()
by Simon Glass
· Mon Oct 01 11:55:07 2018 -0600
4e766c2
sandbox: Unprotect DATA regions in bus tests
by Simon Glass
· Mon Oct 01 21:12:32 2018 -0600
934a545
sandbox: Allow to execute from RAM
by Alexander Graf
· Fri Jun 22 14:44:13 2018 +0200
5b0bdab
sandbox: Fix setjmp/longjmp
by Alexander Graf
· Fri Jun 22 14:44:12 2018 +0200
b7255ef
sandbox: Add support for calling abort()
by Simon Glass
· Sat Sep 15 00:50:55 2018 -0600
be005d8
sandbox: Align RAM buffer to the machine page size
by Simon Glass
· Sat Sep 15 00:50:54 2018 -0600
5dccd15
sandbox: Add a setjmp() implementation
by Simon Glass
· Wed May 16 09:42:22 2018 -0600
10e4779
SPDX: Convert all of our single license tags to Linux Kernel style
by Tom Rini
· Sun May 06 17:58:06 2018 -0400
29d1143
Revert "sandbox: remove os_putc() and os_puts()"
by Simon Glass
· Mon Dec 04 13:48:17 2017 -0700
f53b5ea
sandbox: avoid memory leak in os_dirent_ls
by Heinrich Schuchardt
· Thu Sep 21 12:56:07 2017 +0200
9488451
sandbox: remove os_putc() and os_puts()
by Masahiro Yamada
· Mon Jul 17 13:08:31 2017 +0900
b6f605e
sandbox: Fix comparison of unsigned enum expression warning
by Tom Rini
· Sat May 13 20:11:30 2017 -0400
b7ffa82
sandbox/fs: Set correct filetype for unknown filetype
by Stefan Brüns
· Tue Oct 04 21:46:35 2016 +0200
ae71ede
sandbox/fs: Use readdir instead of deprecated readdir_r
by Stefan Brüns
· Sat Oct 01 20:41:42 2016 +0200
b212990
sandbox/fs: Use correct size path name buffer
by Stefan Brüns
· Sat Oct 01 20:41:40 2016 +0200
d4cb888
sandbox/fs: Make linking of nodes in os_dirent_ls more obvious
by Stefan Brüns
· Sat Oct 01 20:41:39 2016 +0200
2c931ba
sandbox: Allow chaining from SPL to U-Boot proper
by Simon Glass
· Mon Jul 04 11:57:45 2016 -0600
9c3b7d6
sandbox: Tidy up terminal restore
by Simon Glass
· Sun May 10 21:07:27 2015 -0600
504548f
dm: sandbox: Add os_localtime() to obtain the system time
by Simon Glass
· Mon Apr 20 12:37:22 2015 -0600
c043e03
sandbox: Fix warnings in cpu.c and os.c
by Simon Glass
· Tue Nov 11 12:47:08 2014 -0700
378da103
sandbox: Prepare API change for files greater than 2GB
by Suriyan Ramasami
· Mon Nov 17 14:39:37 2014 -0800
9671c67
sandbox: terminate os_dirent_ls() result list
by Stephen Warren
· Wed Jun 11 10:26:23 2014 -0600
47acfc6
sandbox: Add options to clean up temporary files
by Simon Glass
· Thu Feb 27 13:26:23 2014 -0700
678ef47
sandbox: Allow Ctrl-C to work in sandbox
by Simon Glass
· Thu Feb 27 13:26:22 2014 -0700
860b7d9
sandbox: Add os_jump_to_image() to run another executable
by Simon Glass
· Thu Feb 27 13:26:15 2014 -0700
cd5edba
unit-test: make "test -e" test independent of $CWD
by Stephen Warren
· Sat Mar 01 22:18:00 2014 -0700
ee95728
sandbox: fix the return type of os_free() function
by Masahiro Yamada
· Wed Jan 15 13:06:41 2014 +0900
9dd10bf
sandbox: Allow reading/writing of RAM buffer
by Simon Glass
· Sun Nov 10 10:27:03 2013 -0700
3e9fd24
sandbox: Allow the console to work earlier
by Simon Glass
· Sun Nov 10 10:27:01 2013 -0700
1e6594c
sandbox: Improve/augment memory allocation functions
by Simon Glass
· Sun Nov 10 10:26:57 2013 -0700
64367c8
sandbox: Rename sb_cmdline_option to sandbox_cmdline_option
by Simon Glass
· Tue Dec 03 16:43:23 2013 -0700
fb4b4e8
sandbox: Use uint64_t instead of u64 for time
by Simon Glass
· Sun May 19 16:45:35 2013 -0700
d79de1d
Add GPL-2.0+ SPDX-License-Identifier to source files
by Wolfgang Denk
· Mon Jul 08 09:37:19 2013 +0200
e7f1eb5
sandbox: Support trace feature
by Simon Glass
· Tue Jun 11 11:14:44 2013 -0700
f1c45c8
sandbox: Add a way of obtaining directory listings
by Simon Glass
· Wed Dec 26 09:53:34 2012 +0000
868aa3a
sandbox: Improve sandbox serial port keyboard interface
by Taylor Hutt
· Sun Feb 24 17:33:13 2013 +0000
8a3e035
sandbox: add getopt support
by Simon Glass
· Wed Feb 15 15:51:16 2012 -0800
3196d75
sandbox: add flags for open() call
by Simon Glass
· Mon Feb 20 23:56:58 2012 -0500
60addac
sandbox: add lseek helper
by Mike Frysinger
· Tue Oct 25 13:02:58 2011 +0200
17064c0
sandbox: add required header to os.c
by Simon Glass
· Tue Jan 10 15:54:06 2012 -0800
e8015a6
sandbox: sort header files in os.c
by Simon Glass
· Tue Jan 10 15:54:05 2012 -0800
0d3dd14
sandbox: Add timer simulation
by Matthias Weisser
· Tue Nov 29 12:16:40 2011 +0100
b5f7b47
sandbox: Add improved RAM simulation
by Matthias Weisser
· Sat Nov 05 11:40:34 2011 +0100
a5baaee
sandbox: put stdin into raw mode
by Mike Frysinger
· Wed Oct 26 00:21:29 2011 +0000
cd0684f
sandbox: Add OS dependent layer
by Simon Glass
· Mon Oct 03 19:26:44 2011 +0000