Skip to content

Commit 807530f

Browse files
tklausergopherbot
authored andcommitted
unix: remove lists of unimplemented syscalls
These lists are incomplete and out of date, so there's not much point in keeping them around. Change-Id: I0a45905c774b751f0a744f1df88bccb0554a6ab1 Reviewed-on: https://go-review.googlesource.com/c/sys/+/530896 Auto-Submit: Tobias Klauser <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent 01c413d commit 807530f

6 files changed

+0
-997
lines changed

unix/syscall_darwin.go

-184
Original file line numberDiff line numberDiff line change
@@ -646,187 +646,3 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
646646
//sys munmap(addr uintptr, length uintptr) (err error)
647647
//sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
648648
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
649-
650-
/*
651-
* Unimplemented
652-
*/
653-
// Profil
654-
// Sigaction
655-
// Sigprocmask
656-
// Getlogin
657-
// Sigpending
658-
// Sigaltstack
659-
// Ioctl
660-
// Reboot
661-
// Execve
662-
// Vfork
663-
// Sbrk
664-
// Sstk
665-
// Ovadvise
666-
// Mincore
667-
// Setitimer
668-
// Swapon
669-
// Select
670-
// Sigsuspend
671-
// Readv
672-
// Writev
673-
// Nfssvc
674-
// Getfh
675-
// Quotactl
676-
// Csops
677-
// Waitid
678-
// Add_profil
679-
// Kdebug_trace
680-
// Sigreturn
681-
// Atsocket
682-
// Kqueue_from_portset_np
683-
// Kqueue_portset
684-
// Getattrlist
685-
// Getdirentriesattr
686-
// Searchfs
687-
// Delete
688-
// Copyfile
689-
// Watchevent
690-
// Waitevent
691-
// Modwatch
692-
// Fsctl
693-
// Initgroups
694-
// Posix_spawn
695-
// Nfsclnt
696-
// Fhopen
697-
// Minherit
698-
// Semsys
699-
// Msgsys
700-
// Shmsys
701-
// Semctl
702-
// Semget
703-
// Semop
704-
// Msgctl
705-
// Msgget
706-
// Msgsnd
707-
// Msgrcv
708-
// Shm_open
709-
// Shm_unlink
710-
// Sem_open
711-
// Sem_close
712-
// Sem_unlink
713-
// Sem_wait
714-
// Sem_trywait
715-
// Sem_post
716-
// Sem_getvalue
717-
// Sem_init
718-
// Sem_destroy
719-
// Open_extended
720-
// Umask_extended
721-
// Stat_extended
722-
// Lstat_extended
723-
// Fstat_extended
724-
// Chmod_extended
725-
// Fchmod_extended
726-
// Access_extended
727-
// Settid
728-
// Gettid
729-
// Setsgroups
730-
// Getsgroups
731-
// Setwgroups
732-
// Getwgroups
733-
// Mkfifo_extended
734-
// Mkdir_extended
735-
// Identitysvc
736-
// Shared_region_check_np
737-
// Shared_region_map_np
738-
// __pthread_mutex_destroy
739-
// __pthread_mutex_init
740-
// __pthread_mutex_lock
741-
// __pthread_mutex_trylock
742-
// __pthread_mutex_unlock
743-
// __pthread_cond_init
744-
// __pthread_cond_destroy
745-
// __pthread_cond_broadcast
746-
// __pthread_cond_signal
747-
// Setsid_with_pid
748-
// __pthread_cond_timedwait
749-
// Aio_fsync
750-
// Aio_return
751-
// Aio_suspend
752-
// Aio_cancel
753-
// Aio_error
754-
// Aio_read
755-
// Aio_write
756-
// Lio_listio
757-
// __pthread_cond_wait
758-
// Iopolicysys
759-
// __pthread_kill
760-
// __pthread_sigmask
761-
// __sigwait
762-
// __disable_threadsignal
763-
// __pthread_markcancel
764-
// __pthread_canceled
765-
// __semwait_signal
766-
// Proc_info
767-
// sendfile
768-
// Stat64_extended
769-
// Lstat64_extended
770-
// Fstat64_extended
771-
// __pthread_chdir
772-
// __pthread_fchdir
773-
// Audit
774-
// Auditon
775-
// Getauid
776-
// Setauid
777-
// Getaudit
778-
// Setaudit
779-
// Getaudit_addr
780-
// Setaudit_addr
781-
// Auditctl
782-
// Bsdthread_create
783-
// Bsdthread_terminate
784-
// Stack_snapshot
785-
// Bsdthread_register
786-
// Workq_open
787-
// Workq_ops
788-
// __mac_execve
789-
// __mac_syscall
790-
// __mac_get_file
791-
// __mac_set_file
792-
// __mac_get_link
793-
// __mac_set_link
794-
// __mac_get_proc
795-
// __mac_set_proc
796-
// __mac_get_fd
797-
// __mac_set_fd
798-
// __mac_get_pid
799-
// __mac_get_lcid
800-
// __mac_get_lctx
801-
// __mac_set_lctx
802-
// Setlcid
803-
// Read_nocancel
804-
// Write_nocancel
805-
// Open_nocancel
806-
// Close_nocancel
807-
// Wait4_nocancel
808-
// Recvmsg_nocancel
809-
// Sendmsg_nocancel
810-
// Recvfrom_nocancel
811-
// Accept_nocancel
812-
// Fcntl_nocancel
813-
// Select_nocancel
814-
// Fsync_nocancel
815-
// Connect_nocancel
816-
// Sigsuspend_nocancel
817-
// Readv_nocancel
818-
// Writev_nocancel
819-
// Sendto_nocancel
820-
// Pread_nocancel
821-
// Pwrite_nocancel
822-
// Waitid_nocancel
823-
// Poll_nocancel
824-
// Msgsnd_nocancel
825-
// Msgrcv_nocancel
826-
// Sem_wait_nocancel
827-
// Aio_suspend_nocancel
828-
// __sigwait_nocancel
829-
// __semwait_signal_nocancel
830-
// __mac_mount
831-
// __mac_get_mount
832-
// __mac_getfsstat

unix/syscall_dragonfly.go

-196
Original file line numberDiff line numberDiff line change
@@ -347,199 +347,3 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
347347
//sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
348348
//sys accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error)
349349
//sys utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
350-
351-
/*
352-
* Unimplemented
353-
* TODO(jsing): Update this list for DragonFly.
354-
*/
355-
// Profil
356-
// Sigaction
357-
// Sigprocmask
358-
// Getlogin
359-
// Sigpending
360-
// Sigaltstack
361-
// Reboot
362-
// Execve
363-
// Vfork
364-
// Sbrk
365-
// Sstk
366-
// Ovadvise
367-
// Mincore
368-
// Setitimer
369-
// Swapon
370-
// Select
371-
// Sigsuspend
372-
// Readv
373-
// Writev
374-
// Nfssvc
375-
// Getfh
376-
// Quotactl
377-
// Mount
378-
// Csops
379-
// Waitid
380-
// Add_profil
381-
// Kdebug_trace
382-
// Sigreturn
383-
// Atsocket
384-
// Kqueue_from_portset_np
385-
// Kqueue_portset
386-
// Getattrlist
387-
// Setattrlist
388-
// Getdirentriesattr
389-
// Searchfs
390-
// Delete
391-
// Copyfile
392-
// Watchevent
393-
// Waitevent
394-
// Modwatch
395-
// Getxattr
396-
// Fgetxattr
397-
// Setxattr
398-
// Fsetxattr
399-
// Removexattr
400-
// Fremovexattr
401-
// Listxattr
402-
// Flistxattr
403-
// Fsctl
404-
// Initgroups
405-
// Posix_spawn
406-
// Nfsclnt
407-
// Fhopen
408-
// Minherit
409-
// Semsys
410-
// Msgsys
411-
// Shmsys
412-
// Semctl
413-
// Semget
414-
// Semop
415-
// Msgctl
416-
// Msgget
417-
// Msgsnd
418-
// Msgrcv
419-
// Shmat
420-
// Shmctl
421-
// Shmdt
422-
// Shmget
423-
// Shm_open
424-
// Shm_unlink
425-
// Sem_open
426-
// Sem_close
427-
// Sem_unlink
428-
// Sem_wait
429-
// Sem_trywait
430-
// Sem_post
431-
// Sem_getvalue
432-
// Sem_init
433-
// Sem_destroy
434-
// Open_extended
435-
// Umask_extended
436-
// Stat_extended
437-
// Lstat_extended
438-
// Fstat_extended
439-
// Chmod_extended
440-
// Fchmod_extended
441-
// Access_extended
442-
// Settid
443-
// Gettid
444-
// Setsgroups
445-
// Getsgroups
446-
// Setwgroups
447-
// Getwgroups
448-
// Mkfifo_extended
449-
// Mkdir_extended
450-
// Identitysvc
451-
// Shared_region_check_np
452-
// Shared_region_map_np
453-
// __pthread_mutex_destroy
454-
// __pthread_mutex_init
455-
// __pthread_mutex_lock
456-
// __pthread_mutex_trylock
457-
// __pthread_mutex_unlock
458-
// __pthread_cond_init
459-
// __pthread_cond_destroy
460-
// __pthread_cond_broadcast
461-
// __pthread_cond_signal
462-
// Setsid_with_pid
463-
// __pthread_cond_timedwait
464-
// Aio_fsync
465-
// Aio_return
466-
// Aio_suspend
467-
// Aio_cancel
468-
// Aio_error
469-
// Aio_read
470-
// Aio_write
471-
// Lio_listio
472-
// __pthread_cond_wait
473-
// Iopolicysys
474-
// __pthread_kill
475-
// __pthread_sigmask
476-
// __sigwait
477-
// __disable_threadsignal
478-
// __pthread_markcancel
479-
// __pthread_canceled
480-
// __semwait_signal
481-
// Proc_info
482-
// Stat64_extended
483-
// Lstat64_extended
484-
// Fstat64_extended
485-
// __pthread_chdir
486-
// __pthread_fchdir
487-
// Audit
488-
// Auditon
489-
// Getauid
490-
// Setauid
491-
// Getaudit
492-
// Setaudit
493-
// Getaudit_addr
494-
// Setaudit_addr
495-
// Auditctl
496-
// Bsdthread_create
497-
// Bsdthread_terminate
498-
// Stack_snapshot
499-
// Bsdthread_register
500-
// Workq_open
501-
// Workq_ops
502-
// __mac_execve
503-
// __mac_syscall
504-
// __mac_get_file
505-
// __mac_set_file
506-
// __mac_get_link
507-
// __mac_set_link
508-
// __mac_get_proc
509-
// __mac_set_proc
510-
// __mac_get_fd
511-
// __mac_set_fd
512-
// __mac_get_pid
513-
// __mac_get_lcid
514-
// __mac_get_lctx
515-
// __mac_set_lctx
516-
// Setlcid
517-
// Read_nocancel
518-
// Write_nocancel
519-
// Open_nocancel
520-
// Close_nocancel
521-
// Wait4_nocancel
522-
// Recvmsg_nocancel
523-
// Sendmsg_nocancel
524-
// Recvfrom_nocancel
525-
// Accept_nocancel
526-
// Fcntl_nocancel
527-
// Select_nocancel
528-
// Fsync_nocancel
529-
// Connect_nocancel
530-
// Sigsuspend_nocancel
531-
// Readv_nocancel
532-
// Writev_nocancel
533-
// Sendto_nocancel
534-
// Pread_nocancel
535-
// Pwrite_nocancel
536-
// Waitid_nocancel
537-
// Msgsnd_nocancel
538-
// Msgrcv_nocancel
539-
// Sem_wait_nocancel
540-
// Aio_suspend_nocancel
541-
// __sigwait_nocancel
542-
// __semwait_signal_nocancel
543-
// __mac_mount
544-
// __mac_get_mount
545-
// __mac_getfsstat

0 commit comments

Comments
 (0)